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

时间:2017-08-17 13:47:36   收藏:0   阅读:634

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确定,重启就好了

技术分享

原文:http://www.cnblogs.com/chengyungzheng/p/7381003.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!