← 回到 Blog
約 1 分鐘閱讀

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

分類
標籤#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 -> SQL Editor and reconnect.

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

SET SQL_SAFE_UPDATES = 0;