1.ERROR 1064 : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax***
仔細看看你的數據庫語句,肯定是什麼地方寫錯了。
例如,我下面的語句就是在句末多了個“,”號,結果出現了這個錯誤。
insert into User(roleId,locationId,userName,password,phone,createTime,disable) values(1,32,'xingpeng','25d55ad283aa400af464c76d713c07ad','1234567890',now(),0,);