PhpMyAdmin login error root user
Inviato: mer dic 18, 2019 5:02 pm
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:
use MySQL;
Press Enter.
Set your MySQL password with the following command, replacing "EnterYourPasswordHere" with your new chosen password:
Press Enter.
Flush the privileges by typing:
Exit by typing:
Press Enter.
Per risolverlo:
Codice: Seleziona tutto
sudo mysql -u root -p
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";
Flush the privileges by typing:
Codice: Seleziona tutto
FLUSH PRIVILEGES;
Codice: Seleziona tutto
Exit