数据库表字段与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相关推荐

  1. MySQL遇到check the manual that corresponds to your MySQL server version for the right syntax错误

    用MySQL新建了一个Order表,插入了一条数据.总是显示 You have an error in your SQL syntax; check the manual that correspon ...

  2. 一篇文章让你解决sql报错check the manual that corresponds to your MySQL server version for the right syntax to

    一篇文章让你解决sql报错 反馈 因为这一个问题,找到了很多类似问题,你在看到这篇博客时,可能不是这个,但是一定是下面其中一个: Mysql错误:check the manual that corre ...

  3. MySQL check the manual that corresponds to your MySQL server version for the right syntax错误

    地化GO的时候一直遇到一个错误就是check the manual that corresponds to your MySQL server version for the right syntax ...

  4. 错误:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server vers

    错误:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server vers ...

  5. MyBatis中提示:You have an error in your SQL syntax; check the manual that corresponds to your MySQL ser

    场景 在进行MyBatis查询数据时提示: You have an error in your SQL syntax; check the manual that corresponds to you ...

  6. Hibernate: You have an error in your SQL syntax; check the manual that corresponds to your MySQL

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version ...

  7. 报错,> 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL

    错误: idea: 2020-12-23 15:26:13.885 ERROR 17972 --- [MessageBroker-2] o.h.engine.jdbc.spi.SqlException ...

  8. Error:1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL

    错误代码: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL ser ...

  9. check the manual that corresponds to your MySQL server

    1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server ...

最新文章

  1. linux存储--linux内存分配图(九)
  2. Java内存缓存-通过Map定制简单缓存
  3. 在Windows上运行单节点的Cassandra
  4. 3.索引与string进行映射实现高效查找
  5. macmini java,尽管在macBookPro上编译和运行完美,但Mac mini上的桥头问题编译项目仍然存在...
  6. 简谈java的split
  7. python经典程序实例-Python3经典100例(③)
  8. Brinson归因模型
  9. Chrome历史版本以及ChromeDriver下载地址对应的版本
  10. linux 怎么查看谁登过这台服务器,如何查看linux服务器是否被入侵
  11. 第一期:GIS基本原理与arcgis软件
  12. 为什么创业者要假装读过《从0到1》和《创业维艰》?
  13. 方差var、协方差cov、协方差矩阵(浅谈)
  14. 网络监控解决方案及拓扑图
  15. 世界名模刘金金称赞续元金方是国宝,表示:振兴国医,义不容辞
  16. 小新14pro锐龙版虚拟机启动蓝屏重启
  17. Matlab实现平面几何图形的平移、旋转和缩放
  18. Linux ns 5. IPC Namespace 详解
  19. 【程序员养成之路】Java基础篇 8-流进流出的IO流(二)
  20. Android 主题切换/换肤方案 研究(四) - qq和qq空间

热门文章

  1. 观echat的一个例子后有感
  2. Rust : calls in constant functions are limited to constant functions, tuple structs and tuple varian
  3. 计算机网络——数据链路层介质访问控制
  4. python京东自动签到_python 使用selenium登陆京东签到哪京豆
  5. 【每日一句】名人名言学英语(11.26)
  6. Python math.fabs() 方法
  7. OpenStack搭建过程(随笔搭建)
  8. 服务器心跳信号,服务器心跳线设置
  9. 分享一种Android端IM即时通讯智能心跳算法
  10. Java循环控制语句