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

11

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
2

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

$ sudo mysql -u root # I had to use "sudo" since is new installation

mysql> USE mysql;
mysql> UPDATE user SET plugin='mysql_native_password' WHERE User='root';
mysql> FLUSH PRIVILEGES;
mysql> exit;

$ service mysql restart
Posted by: Guest on August-18-2020
0

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

SET PASSWORD FOR 'bob'@localhost = PASSWORD("");
Posted by: Guest on August-18-2020

Code answers related to "ERROR 1698 (28000): Access denied for user 'root'@'localhost'"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language