您的位置:首页 > Web前端

Error Code: 1175. You are using safe update mode and you tried to ......

2015-09-13 15:47 423 查看
MySQL提示的错误信息:

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

意思是:在安全更新模式下尝试使用未带关键字的“WHERE”语句,在Preference中切换该选项。

SET SQL_SAFE_UPDATES = 0; #关闭安全模式

SET SQL_SAFE_UPDATES = 1; #开启安全模式
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: