我覺得應該有一些愚蠢的事,但I'm獲得: 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 Queries and reconnect. 0.000 sec
運行此查詢時:MySQL錯誤1175當查詢where子句
update cities
set province_id = 1
where name = 'Palma de Mallorca';
你應該做什麼錯誤信息說... – 2015-02-05 17:09:53
在mysql工作臺,首選項 - > SQL查詢和禁用安全模式選項 – 2015-02-05 17:10:25
'安全模式'可以避免您運行危險的查詢,我認爲你可以避免此警報添加「限制1」到字符串 – Olvathar 2015-02-05 17:11:55