错误日志: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.
解决 办法:
在执行语句前执行:SET SQL_SAFE_UPDATES = 0;
本文介绍了一种常见的MySQL错误(错误代码1175),该错误发生在使用安全更新模式时尝试更新未使用键列的表。文章提供了解决方案,即在执行更新语句前设置SQL_SAFE_UPDATES为0,以禁用安全模式。
3520

被折叠的 条评论
为什么被折叠?



