欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  IT编程

MySQL 关闭安全更新模式

程序员文章站 2022-03-09 21:17:15
在初次使用MySQL时我们通常会遇到: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解决方法:......

在初次使用MySQL时我们通常会遇到异常:


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

解决方法:

第一步:点击MyS左上角的Edit,然后点击最后一项Preferences…

MySQL 关闭安全更新模式

第二部:点击Preferences…后会进入以下界面,然后点击SQL Editor

MySQL 关闭安全更新模式
第三步:将SQL Editor中最后一项的对号去掉,如下图

MySQL 关闭安全更新模式
注:对号去掉为关闭安全更新模式,不去掉为开启

第四步:最后重启MySQL

本文地址:https://blog.csdn.net/vlucky_long/article/details/109003745