执行update语句,出现问题:

问题描述:

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.

问题描述里已经给了解决方法,对SQL Editor进行设置,并且重新连接。

问题原因:

mysql 的workbench的安全设置问题

解决方法:

打开workbench

选择菜单Edit-->Preferences...-->SQL Editor

[MySQL]You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column

保存设置后,关闭workbench并重启,设置生效,问题解决。

 

相关文章:

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