-
Notifications
You must be signed in to change notification settings - Fork 476
MySQL Migration
leedonggyu edited this page Jul 31, 2020
·
1 revision
Since nGrinder 3.5.0, we decided to fade out Cubrid. Now, nGrinder supports MySQL and provides the script to migrate database from Cubrid to MySQL.
-
Clone ngrinder repository and move to migrator directory
git clone https://github.com/naver/ngrinder cd ngrinder/tools/migrator
-
Edit database configuration in
cubrid-to-mysql-migrator.js
.var htCubrid = { sHostname: 'sepecify_cubrid_ip', sUser: '', sPassword: '', nPort: 33000, sDatabase: 'ngrinder' } var htMysql = { sHostname: 'sepecify_mysql_ip', sUser: '', sPassword: '', nPort: 3306, sDatabase: 'ngrinder', bDebug: false }
-
Install the required node modules.
npm install
-
Run the migration script.
node --max-old-space-size=5120 cubrid-to-mysql-migrator.js
Before running the script, you must create the database
ngrinder
manually in your MySQL database. -
Migration will be done in a few minutes.