MySQL Workbench Error Code:1175 錯誤解決方法

5 月 6, 2016 | | 0 條留言

錯誤描述如下:

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 -> SQL Editor and reconnect.

主要因為要updata或刪除資料時會有安全模式保護,必須在指令前加入以下設定開啟。

SET SQL_SAFE_UPDATES = 0;