Error occurs: When exporting the database from MySQL 5.7 to SQL and importing it on MySQL 5.5, an SQL statement error is reported: datetime(0)… Cause of the error The datetime and timestamp of mysql5.7 and mysql5.5 are incompatible The format exported by mysql5.7 is: datetime(0), but mysql5.5 cannot recognize this syntax. Solution Change datetime(0) in the export statement to datetime, or change timestamp(0) to timestamp Keep database versions consistent Supplementary knowledge: Navicat imports sql, and the database data keeps failing to import all the data. As shown below: Import interface basic options Solution: result: The above article on solving the problem of sql error datetime(0) when importing database data structure into Navicat is all the content that the editor shares with you. I hope it can give you a reference, and I also hope that you will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Detailed explanation of the differences and applications of {{}}, v-text and v-html in Vue
>>: Use Nginx to build a streaming media server to realize live broadcast function
Table of contents 1. Quick understanding of conce...
MySQL Installer provides an easy-to-use, wizard-b...
When installing Docker on Windows 10, after selec...
1. As mentioned above I saw this macro when I was...
This time we set up an rtmp live broadcast server...
Recently, Docker image pull is very unstable. It ...
After the previous two chapters, do you have a ne...
JavaScript writes a random roll call webpage for ...
For MySQL 5.5, if the character set is not set, t...
1. Delete node Execute kubectl delete node node01...
Solution to "Could not run curl-config"...
1. First, an error message is reported when assoc...
Table of contents 1. Some concepts you need to un...
This article shares the specific code of JavaScri...
Usually in project development, we have to deal wi...