MySQL database migration tool that compares two databases and applies schema changes from a source (new) to a target (original) database. Version 0.0.9 is the latest stable release; there is no defined release cadence. Key differentiator: built-in interactive mode prompting for confirmation before executing queries, supporting both MySQL and MariaDB.
npm install mysql-transitNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic setup and non-interactive migration from 'newDb' to 'originalDB'.
Wrap in Promise or use util.promisify for async/await.
Pass first argument as original DB name, second as new DB name.
Set interactive: true to review queries before execution.
Use const MysqlTransit = require('mysql-transit'); then new MysqlTransit(...)Check hostname and network connectivity; ensure MySQL server is running.
Verify user, password, and grant required permissions on both databases.