当我执行删除,或者其它更新语句时报错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即可。