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.
错误代码:1175。您使用的是安全更新模式,并且您尝试在没有WHERE的情况下更新使用键列的表。要禁用安全模式,请在首选项->SQL编辑器中切换该选项,然后重新连接。
解决方法:用一个语句就可以解决。
SET SQL_SAFE_UPDATES = 0;
执行该语句后重新执行update操作。