This article will introduce to you the solutions to problems that occur when MySQL runs SQL files. It has certain reference value. Friends in need can refer to it. I hope it will be helpful to everyone.
Reference:
Mysql error: check the manual that corresponds to your MySQL server version for the right syntax [Add ` symbol, modify there Conflicting field names]
check the manual that corresponds to your MySQL server version for the right syntax error [field names use keywords]
check the manual that corresponds to your MySQL server version for the right syntax to use near [an extra comma is added before where]
Mysql exception check the manual that corresponds to your MySQL server version for the right syntax summary [whether sql has Chinese characters, whether it conflicts with keywords, Whether it contains special characters and whether it is separated into lines correctly]
None of the answers in these articles solved my problem! ! !
Replace all datetime(0) with datetime or time(0) [as shown in the figure, manually modify in xx.sql]:
mysql tutorial"
The above is the detailed content of What should I do if there is a problem when MySQL runs a SQL file?. For more information, please follow other related articles on the PHP Chinese website!