MySql 删除、更改操作报错You are using safe update mode and you tried to update a table without a WHERE that u

来源:互联网 发布:java是集成开发环境吗 编辑:程序博客网 时间:2024/05/09 19:03

当我执行删除,或者其它更新语句时报错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 reconnect.0.000 ,根据提示可以看到需要点开数据库管理界面的Edit->Preference->SQL Editor。如下图:


这个复选框默认是勾上的,去掉然后重新启动MySql即可。

0 0