Error Code: 1175.You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.
2015-01-28 13:59
555 查看
在MySQL Workbench里面使用SQL语句:
delete from 表名
提示出错:
Error Code: 1175.You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.
这是因为设置的是safe update mode,必须跟where。
解决方法有两个:
1. 运行SET SQL_SAFE_UPDATES=0;
2. 打开Edit->Preferences->SQL Queries,取消“Safe Updates”前面的勾。
delete from 表名
提示出错:
Error Code: 1175.You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.
这是因为设置的是safe update mode,必须跟where。
解决方法有两个:
1. 运行SET SQL_SAFE_UPDATES=0;
2. 打开Edit->Preferences->SQL Queries,取消“Safe Updates”前面的勾。
相关文章推荐
- 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.
- rror 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 reconnec
- 处理MySQL更新表时ErrorCode:1175.You are using safe update mode and you tried to update a table without a WHERE that uses a KEY
- 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
- Error Code: 1175 You are using safe update mode and you tried to update a table without a WHERE that
- You are using safe update mode and you tried to update a table without a WHERE that uses a KEY colum
- Error Code: 1175 You are using safe update mode and you tried to update a table without a WHERE that
- You are using safe update mode and you tried to update a table without a WHERE that uses a KEY colum
- Error Code: 1175 You are using safe update mode and you tried to update a table without a WHERE that
- You are using safe update mode and you tried to update a table without a WHERE that uses a KEY colum
- You are using safe update mode and you tried to update a table without a WHERE that uses a KEY colum
- Error Code: 1175 You are using safe update mode and you tried to update a table without a WHERE that
- You are using safe update mode and you tried to update a table without a WHERE that uses a KEY colum
- 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 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