《Mysql學習mysql報錯:MySQL server version for the right syntax to use near type=InnoDB的解決方法》要點:
本文介紹了Mysql學習mysql報錯:MySQL server version for the right syntax to use near type=InnoDB的解決方法,希望對您有用。如果有疑問,可以聯系我們。
本文實例講述了mysql報錯:MySQL server version for the right syntax to use near type=InnoDB的解決方法.分享給大家供大家參考,具體如下:MYSQL應用
一、問題:MYSQL應用
工作中使用sql語句建表時,mysql報了如下錯誤:MYSQL應用
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 ‘type=InnoDB' at line 1MYSQL應用
二、解決方案:MYSQL應用
這個報錯是由于某些版本的mysql不支持type寫法,將type關鍵詞改成ENGINE 即可.MYSQL應用
希望本文所述對大家MySQL數據庫設計有所幫助.MYSQL應用
轉載請注明本頁網址:
http://www.snjht.com/jiaocheng/4960.html