check the manual that corresponds to your MySQL server version for the right syntax的错误解析,correspondssyntax
程序员文章站
2022-06-14 15:08:07
...
check the manual that corresponds to your MySQL server version for the right syntax的错误解析,correspondssyntax
错误原因一:SQL关键字冲突
分析:例:把desc命名为字段名
错误原因二:$right=$DB->fetch_one_array("SELECT rsnumber FROM ".$db_prefix."userright WHERE usertitle=".$usertitle"");
分析:.$usertitle.应该是这样的表示方式与数据库中的字段发生冲突,改成上图中的代码就可以了
(备注:个人拙见,希望有人补充!)
推荐阅读
-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
-
Mysql错误:[Err] 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
-
check the manual that corresponds to your MySQL server version for the right syntax的错误解析,correspondssyntax
-
check the manual that corresponds to your MySQL server version for the right syntax的错误解析,correspondssyntax
-
jpa+springboot,数据查询异常check the manual that corresponds to your MySQL server version for the right ..
-
Mysql 错误 check the manual that corresponds to your MySQL server version for the right syntax to use