错误:
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
解决:执行删除操作的时候,where条件中应该添加的判断条件是主键
本文解决了MySQL中遇到的错误1175,在安全更新模式下执行删除操作时未使用主键作为where条件的问题。文章提供了如何正确地在where子句中添加主键判断条件以避免此错误的方法。
错误:
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
解决:执行删除操作的时候,where条件中应该添加的判断条件是主键
1万+
1万+
9449
724
279
596
1万+

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