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 illustrate 1. Blob object 2. Fr...
Table of contents 1.mysqldump Execution process: ...
At the beginning of the new year, I would like to...
Table of contents origin Environmental Informatio...
MySQL green version setting code, and 1067 error ...
The automatic scrolling effect of the page can be...
Flex layout is a commonly used layout method nowa...
Add in the <Head> tag <meta http-equiv=&q...
Table of contents Preface How does antd encapsula...
Reinventing the wheel, here we use repackaging to...
Table of contents Cache function in vue2 Transfor...
Preface The database deadlocks I encountered befo...
Table of contents Install jupyter Docker port map...
Table of contents Global variable globalData Page...
1. Purchase a server In the example, the server p...