MySQL Workbench报错“You are using safe update mode and you tried to update a table without a WHERE ”

MySQL Workbench下执行update/delete命令时报错:
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.
在这里插入图片描述
解决办法:
Eidt – Preferences - SQL Editor – “Safe updates…”取消勾选
MySQL Workbench报错“You are using safe update mode and you tried to update a table without a WHERE ”_第1张图片
完毕。

你可能感兴趣的:(mysql)