Pagina 1 di 1

PhpMyAdmin login error root user

Inviato: mer dic 18, 2019 5:02 pm
da admin
Dopo l'installazione del server SQL, probabilmente,se provate a collegarvi con Phpmyadmin (con utente root) al vostro server MySQL, potrebbe tornarvi un errore che non autorizza il login.
Per risolverlo:

Codice: Seleziona tutto

sudo mysql -u root -p
use MySQL;
Press Enter.
Set your MySQL password with the following command, replacing "EnterYourPasswordHere" with your new chosen password:

Codice: Seleziona tutto

UPDATE mysql.user SET Password=PASSWORD("EnterYourPasswordHere") WHERE User="root";
Press Enter.
Flush the privileges by typing:

Codice: Seleziona tutto

 FLUSH PRIVILEGES;
Exit by typing:

Codice: Seleziona tutto

 Exit
Press Enter.