turn off safe mode in mysql workbench code example Example: sql disable safe mode SET SQL_SAFE_UPDATES = 0;