Answers for "mysql access denied for user 'root'@'localhost' (using password no)"

SQL
12

ERROR 1698 (28000): Access denied for user 'root'@'localhost'

>>> sudo mysql -u root -p

>>> USE mysql;

>>> UPDATE user SET plugin='mysql_native_password' WHERE User ='root';

>>> FLUSH PRIVILEGES;

>>> exit;

>>> service mysql restart;
Posted by: Guest on July-09-2020
8

mysql access denied for user 'root'@'localhost'

sudo mysql

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';
Posted by: Guest on January-02-2021

Code answers related to "mysql access denied for user 'root'@'localhost' (using password no)"

Code answers related to "SQL"

Browse Popular Code Answers by Language