Mysql异常check the manual that corresponds to your MySQL server version for the right syntax总结

异常信息: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 …..

错误总结:
1.检查sql是否有中文字符
2.检查sql字段是否与关键字冲突,如desc,join等
3.检查sql格式,是否含特殊字符,是否正确分行等

猜你喜欢

转载自blog.csdn.net/u011961421/article/details/79248377