知识库

查找有关信息特性、故障排除指南、
以及关涉虚拟主机服务其他技术信息的文章。

#1064 - You have an error in your SQL syntax

引用:
sql syntax error error in syntax 1064 error

The error 1064 occurs due to MySQL version mismatch. Different versions have different reserved words, which, if they are used by a previous version, causes the error to occur.

The simplest and most effective solution for it is the following: when using phpMyadmin (accessible from your Control Panel), select the "compatibility mode" & select the target database version from the drop down box. That's it! You shouldn't get the same error again.