MySQL遇到check the manual that corresponds to your MySQL server version for the right syntax错误
生活随笔
收集整理的這篇文章主要介紹了
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 thatcorresponds to your MySQL server version for the right syntax to use near 'order
' at line 1
?
?
?的錯誤,開始還以為是mysql什么版本的問題。用Navicat for MySQL查看里面也是有數據的,這是神馬原因呢。找了半天將表名改成了t_order,里面類似關鍵字的字段也進行了重命名結果就OK了。
mysql中不能包含關鍵字。
?
另外就是看看你的sql語言是否少寫了“,”逗號。
《新程序員》:云原生和全面數字化實踐50位技術專家共同創作,文字、視頻、音頻交互閱讀總結
以上是生活随笔為你收集整理的MySQL遇到check the manual that corresponds to your MySQL server version for the right syntax错误的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ${pageContext.reques
- 下一篇: 【PHPStorm使用手册】如何设置字体