Despite its name, this package actually migrates data from Oracle (not CUBRID) to MySQL. Version 0.1.0 is the only known release, appears unmaintained since 2016. It uses an event-driven API to copy data from Oracle to MySQL row by row via SELECT queries and INSERTs. The library has minimal documentation, no tests, and no support for modern Node.js or TypeScript. It is a niche, likely abandoned tool for one-time migrations from Oracle to MySQL. Not recommended for production use; consider using dedicated ETL tools like Apache NiFi, Pentaho, or database-native migration tools.
npm install migrate-cubrid-to-mysqlNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Connects to Oracle and MySQL, migrates data from a SELECT query into a MySQL table with truncation.
Do not use this package for CUBRID migrations; it is designed for Oracle.
Do not use in production. Use modern migration tools like mysqldump, Oracle SQL Developer, or ETL tools.
Always provide a boolean for truncate and a function for callback: oMom.migrateByQuery(query, table, true, callback)
Use exact property names as shown: sHostname, sUser, sPassword, nPort, sDatabase. For MySQL, include bDebug.
Install Oracle Instant Client and run: npm install oracledb
Verify Oracle config object: sHostname, sUser, sPassword, nPort, sDatabase (SID). Ensure Oracle is accessible.
Call as: new Mom(oracleConfig, mysqlConfig) with both objects defined.