Get the App
SLTechnology News&Howtos  ›  Database  › 

Complete the comparison of MySQL database structure in 10 seconds

Shulou Source: shulou.com Published: 2022-06-01 21:17:58 10月03日 Update

In the production environment, we always cause master-slave non-synchronization for one reason or another, or the test environment needs to be synchronized with the production environment. Using Navicat structure synchronization tool, we can not only find out the differences in library structure, but also selectively compare create, modify, drop, etc., which is very humanized, so let's take a look at how it works.

First, select the tool and synchronize the structure in the main interface of Navicat, and you will see the following screen:

Select the source and target servers, select the databases that need to be synchronized, select the desired running options, and check to continue with errors.

After clicking on the comparison, there will be a synchronization process, which is only a comparison, not really synchronized yet. Click the run synchronization button in the lower right corner to synchronize the source database table structure to the target database table structure.

Tags: Synchronization structure selection data database environment tools goals production operation master-slave human nature reason difference total button server screen interface process Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft Docker MySQL vpn NVidia