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

意思是:在安全更新模式下尝试使用未带关键字的“WHERE”语句,在Preference中切换该选项。

SET SQL_SAFE_UPDATES = 0; #关闭安全模式

SET SQL_SAFE_UPDATES = 1; #开启安全模式

 

相关文章:

  • 2021-08-09
  • 2021-10-18
  • 2021-11-03
  • 2022-01-05
  • 2022-12-23
  • 2022-02-15
  • 2021-08-29
猜你喜欢
  • 2021-06-10
  • 2022-12-23
  • 2021-09-30
  • 2021-05-19
  • 2021-09-24
  • 2022-12-23
  • 2022-03-01
相关资源
相似解决方案