mysql workbench如何disable safe mode

2024-10-12 18:34:27

1、在workbench中,update,delete某个表的时候有错误提示“Error Code: 1175. You are usin爿讥旌护g safe update mode and you tried to update a table without a WHERE that uses a KEY column. ”,如图所示

mysql workbench如何disable safe mode

3、在弹出的子菜单中点击“Preference...”,如图所示

mysql workbench如何disable safe mode

5、然后在右边的界面中,找到一个选项“Safe Updates(rejects UPDATEs and DELETEs with no restrictions)”,胃申赜驵取消勾选并点击“ok”按钮,重新连接数据库,尝试Update,delete操作

mysql workbench如何disable safe mode
猜你喜欢