Set session old_passwords=0; set password for ‘root’@’%’ = password(‘lacontraseña’);
Set session old_passwords=0; set password for ‘usuario’@’IP’ = password(‘lacontraseña’);
Set session old_passwords=0; set password for ‘root’@’%’ = password(‘lacontraseña’);
Set session old_passwords=0; set password for ‘usuario’@’IP’ = password(‘lacontraseña’);
Fuente: https://bugs.mysql.com/bug.php?id=70023