jueves, 24 de noviembre de 2016

No permite actualizar registros Mysql - Resuelto.



FECHA QUERY MENSAJE
17:24:04 Update NombreTabla SET campo1 = NULL WHERE campo2 = 'ejemplo' 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 Editor and reconnect.


 se resuelve con este comando.

 SET SQL_SAFE_UPDATES = 0;