mysql workbench如何disable safe mode

 时间:2026-04-21 23:10:48

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

mysql workbench如何disable safe mode

2、遇到该错误时点击顶部菜单的“Edit”,如图所示

mysql workbench如何disable safe mode

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

mysql workbench如何disable safe mode

4、在打开的对话框中,在左边的菜单列表中选择“SQL Editor”

mysql workbench如何disable safe mode

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

mysql workbench如何disable safe mode

  • Arduino初始化器列表声明中初始化数组编程解读
  • 如何使用Typora做HTML页面
  • git分支覆盖另一个分支
  • Ubuntu怎么设置纯色颜色背景壁纸
  • Mysql怎么自定义安装
  • 热门搜索
    号虎食是什么字 运动会拔河加油稿 人无完人是什么意思 鼻子干燥是什么原因 什么是两会 astronaut是什么意思 visa是什么卡 电动车什么牌子质量好 运动服装 有口臭是什么原因