db-migrate mysql2 driver

JSON →
library 1.0.0 ·javascript
verified Jun 5, 2026

A database driver for db-migrate that uses mysql2 instead of the deprecated mysql module. Version 1.0.0 is the current stable release, with occasional updates. It provides a drop-in replacement for the original db-migrate mysql driver, supporting modern MySQL features like prepared statements, async/await, and promises through mysql2. Unlike the original mysql driver, this version is actively maintained and compatible with MySQL 8+. It is ideal for projects that need reliable database migrations in Node.js with MySQL.