mysql update 报 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

 UPDATE i18nresource SET languageId = ‘en-us‘    

 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 Queries and reconnect.    0.000 sec
 

解决办法 : 

执行 SET SQL_SAFE_UPDATES = 0;

mysql update 报 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

上一篇:微软BI 之SSIS 系列 - Execute SQL Task 中的 Single Row 与 Full Result Set 的处理技巧


下一篇:sql语句中的count(转)