当前位置:Gxlcms > 数据库问题 > mysql错误:you are using update mode and you tried to update a table without a where that uses a key column to disable safe mode

mysql错误:you are using update mode and you tried to update a table without a where that uses a key column to disable safe mode

时间:2021-07-01 10:21:17 帮助过:6人阅读

您使用的是更新模式,并且您尝试更新一个没有在使用一个键列的表禁用安全模式

是因为 MySQL Workbench中 安全设置,执行的SQL语句是进行批量更新或者删除的时候就会提示这个错误。

解决方法

打开菜单[Edit] -> Preferences... 对勾去掉点击ok确定,重启就好了

技术分享

人气教程排行