关键词:(1064) You have an error in your SQL syntax;
现象:在我们用discuz建站的时候,有时会遇到这样类似的错误提示“(1064) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
SELECT username FROM common_member where uid=
”
其中,均以 (1064) You have an error in your SQL syntax; 开头。
解决方案:
1.登陆管理员后台--工具--文件校验,得到文件校验结果,如下所示:
如果站点是最近突然出现的问题,我们只需要查看最近一周内的文件变动情况,找到 data/sysdata ,对比其中文件情况,如下图所示: