MySQL更新表时 Error Code: 1175. You are using safe update mode and you tried to update a table......
2013-11-16 17:27
597 查看
/article/1356378.html
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;
update T set col = 'xxx' where condition ……;
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;
update T set col = 'xxx' where condition ……;
相关文章推荐
- Mysql Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column
- MySQL错误: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 easonjim
- 【MySQL笔记】解除输入的安全模式,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.
- Mysql update error: Error Code: 1175. You are using safe update mode and you tried to update a table
- Mysql -update - Error Code: 1175. You are using safe update mode and you tried to update a table wit
- Error Code: 1175 You are using safe update mode and you tried to update a table without a WHERE that
- 处理MySQL更新表时Error Code: 1175. You are using safe update mode and you tried to update a table……
- mysql错误:Error Code: 1175. You are using safe update mode and you tried to update a table……
- Error Code: 1175 You are using safe update mode and you tried to update a table without a WHERE that
- Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE
- Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE tha
- Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE
- 处理MySQL更新表时Error Code: 1175. You are using safe update mode and you tried to update a table……
- Error Code: 1175 You are using safe update mode and you tried to update a table without a WHERE that
- Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE tha
- Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE tha
- Error Code: 1175 You are using safe update mode and you tried to update a table without a WHERE that
- mysql解决ERROR Code 1175 : You are using safe update mode and you tried to update a tab
- Error Code: 1175. You are using safe update mode and you tried to update a table
- Error Code: 1175. You are using safe update mode and you tried to update a table