MySQL 报错 have an error in your SQL syntax; check the manual that corresponds to your MySQL serve

MySQL 报错 have an error in your SQL syntax; check the manual that corresponds to your MySQL serve,第1张

all_sale_deduct_f = 2, WHERE `id`=1

这里,WHERE前面最后一个字段后面,只能有空格,不能有逗号

改成这样 all_sale_deduct_f = 2 WHERE `id`=1

运行cmd,进入mysql安装目录,重新安装mysql server:

mysql/bin>mysqld -remove

mysql/bin>mysqld -install

mysql/bin>mysql_config_editor.exe set -u root -p


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/zaji/8750468.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-04-20
下一篇2023-04-20

发表评论

登录后才能评论

评论列表(0条)

    保存