Mysql错误check the manual that corresponds to your MySQL server version for the right syntax
Posted 程序员超时空
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Mysql错误check the manual that corresponds to your MySQL server version for the right syntax相关的知识,希望对你有一定的参考价值。
数据库表字段与SQL关键字冲突导致的错误
错误信息为:check the manual that corresponds to your mysql server version for the right syntax
这是之前写的一条 Mysql语句报的 SQL错误,但是仔细检查 SQL语句没有发现有什么异常问题。后来百度查到,我的数据库表中有一个字段名为 desc,这和 SQL语句的关键字冲突了,导致出现了这个问题。
解决方法有两个:
1.在数据库表冲突字段前后加 `符号(Tab键上面那个键),就不会再报语法错误了;
2.修改数据库表中冲突字段名称,修改为和 SQL语句关键字不冲突的其他名称。
转自(https://blog.csdn.net/LT_lover/article/details/78912450)
以上是关于Mysql错误check the manual that corresponds to your MySQL server version for the right syntax的主要内容,如果未能解决你的问题,请参考以下文章
mysql 数据库导入数据错误 #1064 - You have an error in your SQL syntax; check the manual
Mysql错误:[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your
报错:MySQL check the manual that corresponds to your MySQL server version for the right syntax
C# Mysql You have an error in your SQL syntax; check the manual that corresponds to your MySQL ser
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds t