mysql安全更新报错You are using safe update mode and you tried to update
2021/9/21 2:27:43
本文主要是介绍mysql安全更新报错You are using safe update mode and you tried to update,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
报错:
21:55:14 update users set realname=‘李四2’ where username=‘ls’ 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. 0.000
sec
解决:
执行该语句后即可:SET SQL_SAFE_UPDATES=0;
这篇关于mysql安全更新报错You are using safe update mode and you tried to update的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!
- 2024-10-23BinLog入门:新手必读的MySQL二进制日志指南
- 2024-10-23Binlog入门:MySQL数据库的日志管理指南
- 2024-10-22MySQL数据库入门教程:从安装到基本操作
- 2024-10-22MySQL读写分离入门教程:轻松实现数据库性能提升
- 2024-10-22MySQL分库分表入门教程
- 2024-10-22MySQL慢查询的诊断与优化指南
- 2024-10-22MySQL索引入门教程:快速理解与应用指南
- 2024-10-22MySQL基础入门教程:从安装到基本操作
- 2024-10-22MySQL数据库中的Binlog详解与操作教程
- 2024-10-12部署MySQL集群项目实战:新手入门教程