Mysql update 报错 safe mode
错误:
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.
方法:
1,根据提示,修改配置。
2,先执行 SQL语句:
SET SQL_SAFE_UPDATES = 0;