我觉得应该有一些愚蠢的事,但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