mysql database migration reaches dream database

After we have installed the Dameng database, we can see its structure in the Start-"All Tools-" Dameng Database

We select the DM data migration tool and click into it

Then right-click the new project in the migration management

Then enter the project name, you can start at will. Click ok

Then select the migration under the project, right click to create a new migration

The name of the migration is also the same, you can start at will. Click ok

Then see this page, click next

Then select mysql-》 DM7 and click next

Then enter the corresponding information, the database name will be filled in based on the information above you can choose 

Note that the specified driver item requires the mysql driver package. Except for the DM package, which is not required to be imported, everything else is required. That is, please choose the appropriate database driver package.

 

 

 

Click Browse to specify the lib package, click OK

 

Then click next

Then enter the relevant information of the DM. At this time, the designated driver does not need to be selected, because the DM comes with its own package, click Next

Put a check mark, and then select the database name that needs mysql to be imported into the corresponding DM in the destination mode. If you have not already done so, go to the DM database to create the database name.

After selecting, click Next

Click to select, all will be selected, that is, all your mysql tables will be imported, and then click Next

Then the detailed information is displayed, and then click Finish.

After completion, you will successfully import mysql into the DM database!

If the export fails:

 

 

Because:

"CREATE_TIME" TIMESTAMP(0) DEFAULT 'CURRENT_TIMESTAMP()' NOT NULL,

Remove the double quotes of 'CURRENT_TIMESTAMP ()' and then manually execute the SQL to create the table to solve.

Guess you like

Origin www.cnblogs.com/zhaoyanhaoBlog/p/12700034.html