Comparison of database structure between mysql
Adapt to the environment: for product upgrades in the project, the database structures of the two versions are different.
Use tools: Navicat
1. Prepare two versions of the database
2. Open the tool Navicat
3. Connect two databases respectively
4. Click "tools-structure synchronization"
5. In general, two connected databases are selected for comparison. The left database generates different for the template.
6. export the different files and import them into the new version of the database, and the database structure of the two versions will be completed synchronously.
7. Synchronize database data after structure synchronization
8. Upgrade completed