執行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
問題緣由:
mysql 的workbench的安全設置問題sql
解決方法:
打開workbench安全
選擇菜單Edit-->Preferences...-->SQL Editorspa
![](http://static.javashuo.com/static/loading.gif)
保存設置後,關閉workbench並重啓,設置生效,問題解決。blog