Mysql 在更新删除语句时遇到的问题
错误提示为:You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column
解决方法如下:打开Workbench的菜单[Edit]->[Preferences…]切换到[SQL Editor]页面把[Forbid UPDATE and DELETE statements without a WHERE clause (safe updates)]之前的对勾去掉点击[OK]按钮最后一步记得要重启一下Workbench,否则你仍然会得到这个错误提示。