mysql access denied for user root@localhost « Różności …

Różności …

1 lipca 2019

mysql access denied for user root@localhost

Zaszufladkowany do: MySQL — Jacek @ 08:55
sudo mysql

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';

With a single query we are changing the auth_plugin to mysql_native_password and setting the root password to root (feel free to change it in the query)

Now you should be able to login with root. More information can be found in mysql documentation

(exit mysql console with Ctrl + D or by typing exit)

https://stackoverflow.com/questions/41645309/mysql-error-access-denied-for-user-rootlocalhost


Brak komentarzy

Brak komentarzy.

Kanał RSS z komentarzami do tego wpisu.

Przepraszamy, możliwość dodawania komentarzy jest obecnie wyłączona.

Strona startowa: www.jaceksen.pl