實際問題:
23:13:58 UPDATE countries SET flag_url='https://lipis.github.io/flag-icon-css/flags/4x3/se.svg' WHERE country='瑞典' 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.017 sec
解決方案:
在更新之前,使用
SET SQL_SAFE_UPDATES=0;
開頭,然後下方輸入 Update 即可。
沒有留言:
張貼留言