Utility to repair, move, or import old MySQL databases from a non-working MySQL server by copying the data folder and using the dbsake tool to re-import into a new MySQL instance. Version 0.0.5, last updated circa 2018, targets Node 8.x. Useful for recovery when the old server is broken, or for migrations and backups. Limited to that specific workflow and not actively maintained.
npm install repair-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Configuration for repair-mysql. Set source and target MySQL data folders, connection credentials, and dbsake path, then run the script.
Use Node 8.x or consider alternatives like mysqlfrm or manual .frm parsing.
Install dbsake: `curl -s http://get.dbsake.net > dbsake && chmod u+x dbsake`
Use modern migration tools like mysqlpump, mysqldump, or Percona XtraBackup.
Run `npm install repair-mysql` in your project directory and use `npm start` from that directory.
Install dbsake in the workingFolder specified in config and ensure it's executable.
No dependency data recorded yet.