Mysql
 SQL >> Database >  >> RDS >> Mysql

Resettare account root MySQL con init file

Se non riesci ad accedere come root, avvia MySQL con un file init contenente istruzioni SQL per ricreare l’utente, assegnare privilegi ed eseguire FLUSH PRIVILEGES.

Dopo l’avvio, verifica i permessi con SHOW GRANTS. Usa questa procedura con cautela perché modifica l’autenticazione.