在初次使用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
解決方法:
第一步:點擊MyS左上角的Edit,然后點擊最后一項Preferences…

第二部:點擊Preferences…后會進入以下界面,然后點擊SQL Editor

第三步:將SQL Editor中最后一項的對號去掉,如下圖

注:對號去掉為關閉安全更新模式,不去掉為開啟
第四步:最后重啟MySQL
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/168098.html
標籤:其他
上一篇:防止注入的一些PHP轉義函式
