safe update mysql
snippet in sql

safe update mysql

user9278

SET SQL_SAFE_UPDATES = 0;

sql disable safe mode

user8904

UPDATE tablename SET columnname=1;