1. 程式人生 > >解決ROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use n

解決ROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use n

之前一直用的好好的,突然就出現了這個錯誤:

ERROR 1064 (42000): 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 'creat table study_record(

然後上網上尋找資料,說是沒有在關鍵詞詞上面新增反引號,當初學習的時候覺得不加反引號省事還舒服,而且沒有報錯,就沒有新增反引號。

 

解決辦法:

 

在英文鍵盤輸入環境下,按圖示按鈕輸入反引號