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 server version for the right syntax to use near type=InnoDB的處理辦法正文
本文實例講述了mysql報錯:MySQL server version for the right syntax to use near type=InnoDB的處理辦法。分享給年夜家供年夜家參考,詳細以下:
1、成績:
任務中應用sql語句建表時,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 1
2、處理計劃:
這個報錯是因為某些版本的mysql不支撐type寫法,將type症結詞改成ENGINE 便可。
願望本文所述對年夜家MySQL數據庫設計有所贊助。