阅读

Mysql update 报错 safe mode

MySQL  2016-01-19 12:12

错误:

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,根据提示,修改配置。

1453176611612477.png


2,先执行 SQL语句:

SET SQL_SAFE_UPDATES = 0;