Navicat data comparison using two mysql database table structure, and to synchronize and

Abstract: The development proposed requirements, it is necessary to export online database environment to a test database and data synchronization structure, can not be lost table structure, table data.

1, select Tools> Structure Synchronization>

 

 2, two databases are selected as shown in FIG click alignment

Note: do first structure contrast, in the database you want to overwrite the data, find a different table to do a backup, do a whole database backup, the error can be easily rolled back. Then do data synchronization, data transfer is truly merge the data in the two databases.

 

 3, the data structure after comparing remember to do data synchronization preview to avoid errors.

Guess you like

Origin www.cnblogs.com/llody/p/12052844.html