viernes, 13 de marzo de 2020

MySQL - You are using safe update mode and you tried to update...

MySQL Error:

You are using safe update mode and you tried to update a table without a WHERE that uses a KEY column.

Solution.

#Disable Safe Update:
SET SQL_SAFE_UPDATES = 0;

#Enable Safe Update:
SET SQL_SAFE_UPDATES = 1;

No hay comentarios:

Publicar un comentario