Error Code: 1175 You are using safe update mode and you tried to update a table without a WHERE that
来源:互联网 发布:namecheap域名购买 编辑:程序博客网 时间:2024/04/30 02:27
用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,否则你仍然会得到这个错误提示。
0 0
- 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 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 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
- 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 tha
- You are using safe update mode and you tried to update a table without a WHERE that uses a K
- mysql Error Code: 1175 You are using safe update mode and you tried to update a table without a W
- ErrorCode:1175.You are using safe update mode and you tried to update a table without a WHERE that u
- MySQL错误:You are using safe update mode and you tried to update a table without a WHERE that uses
- MySQL WorkbenchYou are using safe update mode and you tried to update a table without a WHERE that u
- Error Code: 1175. You are using safe update mode and you tried to update a table
- 数据库 safe You are using safe update mode and you tried to update a table without a WHERE
- gdb常用调试命令总结
- HashMap分析
- 粒子效果
- Hibernate与 MyBatis的比较
- 致我最爱的班主任
- Error Code: 1175 You are using safe update mode and you tried to update a table without a WHERE that
- testtesttesttesttesttesttesttest
- python的基本操作(列表,元组)
- 浅析Java虚拟机结构与机制
- 关于oracle的任务进程提交后不执行原因
- zf2 module.php中实现redirect
- 异步提交form的时候利用jQuery validate实现表单验证
- 王垠:《程序员的心理疾病》
- Android学习之Shader渲染