Resolved: You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column
It seems that MySql session has the safe-updates option set. This means that you can't update or delete records without specifying a key (ex. primary key) in the where clause.
SET SQL_SAFE_UPDATES = 0;