Error Code: 1175. You are using safe update...
报错日志
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 Queries and reconnect.
解决方案
在使用mysql执行update的时候,如果不是用主键当where的条件,会报上面错误,使用主键用于where语句中正常。
这是因为MySql运行在safe-updates模式下,该模式会导致非主键条件下无法执行update或者delete命令,执行命令SET SQL_SAFE_UPDATES = 0;修改下数据库模式。
如果想要提高数据库安全等级,可以在恢复回原有的设置,执行命令:SET SQL_SAFE_UPDATES = 1。
Error Code: 1175. You are using safe update...相关推荐
- Error Code: 1175. You are using safe update mode and you tried to ......
MySQL提示的错误信息: Error Code: 1175. You are using safe update mode and you tried to update a table witho ...
- Mysql -update - Error Code: 1175. You are using safe update mode and you tried to update a table wit
使用MySQL执行update的时候报错:Error Code: 1175. You are using safe update mode and you tried to update a tabl ...
- 执行update和delete的SQL语句时,报错:Error Code: 1175. You are using safe update mode and you tried to update a
执行SQL语句时,报错: 13:36:42 delete from users where username='lisi' Error Code: 1175. You are using safe u ...
- Error Code: 1175. You are using safe update mode and you tried to update a table without a WHERE tha
[MySQL笔记]解除输入的安全模式,Error Code: 1175. You are using safe update mode and you tried to update a table ...
- 关于mysql出现delete from student where `stu_id` = '1' Error Code: 1175. You are using safe update错误
两个解决办法, 一: 修改mysql 的preference选项 上图: 选中edit,选择preference属性 二, 使用SET SQL_SAFE_UPDATES = 0
- mysql 报错:Error Code: 1175. You are using safe update mode and you tried...
解决方法: 关闭safe-updates模式 SET SQL_SAFE_UPDATES = 0; (如果需要重新打开: SET SQL_SAFE_UPDATES = 1; )
- rror Code: 1175. You are using safe update mode and you tried to update a table without a WHERE that
在mysql5中,可以设置safe mode,比如在一个更新语句中 UPDATE table_name SET bDeleted=0; 执行时会错误,报: You are using safe upd ...
- MySQL更新时Error Code:1093和Error Code:1175的解决办法
Error Code: 1093. You can't specify target table 'ws_product' for update in FROM clause 这个是我们在使用upda ...
- SQL Editor and reconnect【mysql(workbench)更新数据时候的一个异常】【Error Code:1175】
异常情况: Error Code: 1175. You are using safe update mode and you tried to update a table without a WHE ...
最新文章
- Kali2021.2 VMware最新版安装步骤
- Hibernate之检索方式
- 去掉chrome记住密码后自动填充表单的黄色背景
- java的知识点23——泛型Generics、Collection接口、List特点和常用方法、 ArrayList特点和底层实现
- mininet编程实现交换机规则的插入、删除与修改。_可编程网卡芯片在滴滴云网络的应用实践...
- linux ssh编译命令,linux下升级 OpenSSH
- Unity3D_(游戏)卡牌03_选关界面
- 【java笔记】缓冲流
- 调用外部 DLL 中的函数(显示调用)
- 第一次作业:阅读优秀博文感想
- atoi,itoa,strcpy, strcmp,strcpy, strcpy_s, memc...
- 一台伺服驱动器可以带动多台伺服电机吗?
- 影驰悍将120SSD盘只认20M,有时能认,有时认不到的修复
- 图像处理中的一阶偏导数和二阶偏导数
- 全网最全python爬虫精进
- 【软考】高级系统架构设计师学习经验分享
- 随机森林实例:利用基于CART算法的随机森林(Random Forest)树分类方法对于红酒质量进行预测
- matlab三维数据切片二维
- 海南大学计算机学院张一教授,应用数学专业01级校友:王志刚——海南大学信息科学技术学院教授...
- 阿里云 SUSE linux 安装谷歌浏览器Chrome 安装goole浏览器报错
热门文章
- GR-MnO2 石墨烯修饰纳米二氧化锰/CD-MnO2碳点修饰二氧化锰复合材料/CMSs@MnO2碳微球包覆二氧化锰
- Excel表格太单调?教你可视化三板斧!
- SECS/GEM EAP 设备自动化功能原理和设计方案
- (Java实现) 细胞
- PDF.js 实现pdf分页加载的前端优化(实现按需加载)-前端的demo也已经上传
- (Pytorch) YOLOV4 : 训练自己的数据集【左侧有码】
- 浅析2017年医疗类APP开发前景
- Yuga Labs收购之后,CryptoPunks拥有了「商业许可」
- 写给大学时期自己的寄语
- 王者荣耀是用什么编程语言开发的?