今天被mysql的一个bug弄了半天,唉,技术、英语、经验不精很难受。。
bug:
Error Code: 1064
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 'order (id, o_id, u_id,
up_uid, commodity, price,
。。。
因为mysql当你的表名为MySQL关键字,执行相关操作时需要将其用
`
(在英语输入下,1的左边)括起来!!
比如我的order表,为关键字,需要’order’起来,
insert into ’order‘(。。。) values(。。。。)…