mysql安全模式(safe_updates) 2020-03-04 阅读量5009 mysql数据库在用workbench批量更新时有时候会出现: You are using safe update mode and you tried to update a table without a WHERE clause that uses a KEY column.” 原因: safe mode下,要强制安全点,update只能跟where了 解决方案: SET SQL_SAFE_UPDATES=0; 赏 谢谢你请我吃糖果 支付宝 微信 扫一扫,分享到微信