Error Code: 1175
You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column
MySQL Workbench的安全設定---------當要執行的SQL語句是進行批量更新或者删除的時候就會提示這個錯誤。
解決方法如下:
①打開Workbench的菜單[Edit]->[Preferences...]
②切換到[SQL Editor]頁面
③把[Forbid UPDATE and DELETE statements without a WHERE clause (safe updates)]之前的對勾去掉
④點選[OK]按鈕
⑤最後一步記得要重新開機一下Workbench
否則你仍然會得到這個錯誤提示。