Solve Sql Safe Update Mode in Mysql Workbench
October 16, 2013 Leave a comment
Just for my note when i use mysql workbench for monitor my database. When we want to delete or update file, it will return some error result that say
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.
To fix this, you must set sql update safe first with this code :
SET SQL_SAFE_UPDATES=0; delete from `blablabla..`
ok, finish.. hope it help…