Error Code: 1175 You are using safe update mode and you tried to update a table without a WHERE that
2015-01-12 17:33
477 查看
用MySQL
Workbench进行数据库的管理更新时,执行一个更新的语句碰到以下错误提示:
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 Workbench的安全设置。当要执行的SQL语句是进行批量更新或者删除的时候就会提示这个错误。
解决方法如下:
打开Workbench的菜单[Edit]->[Preferences...]
切换到 [SQL
queries]页面,有的版本可能在 [SQL
editor]
把[Forbid UPDATE and DELETE statements without a WHERE clause (safe updates)]之前的对勾去掉
点击[OK]按钮
最后一步记得要重启一下Workbench,否则你仍然会得到这个错误提示。
Workbench进行数据库的管理更新时,执行一个更新的语句碰到以下错误提示:
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 Workbench的安全设置。当要执行的SQL语句是进行批量更新或者删除的时候就会提示这个错误。
解决方法如下:
打开Workbench的菜单[Edit]->[Preferences...]
切换到 [SQL
queries]页面,有的版本可能在 [SQL
editor]
把[Forbid UPDATE and DELETE statements without a WHERE clause (safe updates)]之前的对勾去掉
点击[OK]按钮
最后一步记得要重启一下Workbench,否则你仍然会得到这个错误提示。
相关文章推荐
- 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
- 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
- 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
- Error Code: 1175.You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.
- 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
- 【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.
- 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
- 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
- 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
- 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
- Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE tha
- ErrorCode:1175.You are using safe update mode and you tried to update a table without a WHERE that u
- 处理MySQL更新表时ErrorCode:1175.You are using safe update mode and you tried to update a table without a WHERE that uses a KEY