A MySQL driver for db-migrate that supports MySQL 5.x and 8.0.x. Version 1.0.1 is the latest stable release. This driver enables database migrations using the db-migrate framework with MySQL 8 features, including caching_sha2_password authentication. Low maintenance cadence. Key differentiator: specifically for MySQL 8 compatibility versus older db-migrate-mysql driver.
npm install db-migrate-mysql8No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize db-migrate with MySQL8 driver and apply all pending migrations.
Upgrade to db-migrate-mysql8 >=1.0.0 or ensure you use caching_sha2_password compatible client.
Switch package from 'db-migrate-mysql' to 'db-migrate-mysql8'.
Set driver to 'mysql8' in migration config JSON or programmatically.
Use db-migrate-mysql for MySQL 5.7 compatibility.
Run: npm install db-migrate-mysql8
Use mysql2 instead of mysql; or alter MySQL user to use mysql_native_password.
Ensure you pass driver instance: getInstance(true, { driver: MYSQL8 })