全网多种方法解决You have an error in your SQL syntax; check the manual that corresponds to your MySQL server
•
数据库
文章目录
- 1. 复现错误
- 2. 分析错误
- 3. 解决错误
- 4. 解决该错误的其他方法
1. 复现错误
今天在调试低代码的接口,突然报出如下的错误:

即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 ‘desc,name,is_deleted ) VALUES(‘测试哈’,’测试哈’,’测试项目’,1 )’ at line 11。
于是,查看控制台报出的详细错误信息,如下图所示:
java.sql.SQLSyntaxErrorException: You have an error in your SQ
本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/6309e4443a.html
