mysql workbench如何disable safe mode

2025-05-09 16:24:37

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
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢