1.错误
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 Editor and reconnect.
2.解决方案
1.在命令窗口执行 SET SQL_SAFE_UPDATES = 0;
2.也可以通过设置方式解决,步骤如下:
Edit →Preferences→SQL Editor→下滑到窗口底部→找到Safe Updates (rejects UPDATEs and DELETEs with no restrictions)→去掉勾选 点击OK 就可以了