首页 > 其他 > 详细

Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.

时间:2019-07-16 22:48:29      阅读:213      评论:0      收藏:0      [点我收藏+]

delete from user where username = ‘222‘

 

编译报错:

Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column To disable safe mode, toggle the option in Preferences -> SQL Editor and reconnect.

 

解决方法:
SET SQL_SAFE_UPDATES=0;

delete from user where username = ‘222‘
---------------------
作者:稚枭天卓
来源:CSDN
原文:https://blog.csdn.net/u013630349/article/details/51691414
版权声明:本文为博主原创文章,转载请附上博文链接!

Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.

原文:https://www.cnblogs.com/longlyseul/p/11197996.html

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