Navicat synchronization database error

   When using Navicat to synchronize the database, as shown in the figure

Report an error

I checked the Internet and all said it was a problem with the mysql version. I checked the next two mysql versions decisively, and both versions were above 5.7.

This is not the reason, but what could be the reason?

I exported the sql, and then executed it on the local database, and saw the error message

Take a look at the table structure

It is found that when encountering a field with a default value of current_timestamp, the latter field cannot be processed normally, which should be the reason why Navicat is not compatible with the new MySQL function.

You might as well use another way of thinking, using MySQL's own database import and export commands

- Export command

mysqldump  -d mro -uroot -p123456 > mro.sql

- Import command

source C:\mro.sql

Guess you like

Origin blog.csdn.net/qq_26276667/article/details/110204057