首页 > 数据库技术 > 详细

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      阅读:630      评论:0      收藏:0      [点我收藏+]

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

技术分享

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!