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

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 Workbench中 安全设置,执行的SQL语句是进行批量更新或者删除的时候就会提示这个错误。

解决方法

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

 

 

posted @ 2017-08-17 12:51  翔运  阅读(544)  评论(0编辑  收藏  举报