MAC MySQL Workbench执行批量更新和删除的时候错误解决

处理MySQL更新表时ErrorCode:1175.You are using safe update mode and you tried to update a table without a WHERE that uses a KEY

Error: 1175 SQLSTATE: HY000 (ER_UPDATE_WITHOUT_KEY_IN_SAFE_MODE)



Message: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.


Solution:

SET SQL_SAFE_UPDATES = 0;

你可能感兴趣的:(MySQL,IOS)