MYSQL 中出現錯誤 Error Code 1175.

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. 0.000 sec

MYSQL執行更改關鍵行的時候需要解除安全模式纔可以進行操作

在執行改行前執行以下代碼即可解決:

SET SQL_SAFE_UPDATES = 0;
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章