Answers for "sqlstate[hy000] [1698] access denied for user 'root'@'localhost' laravel"

14

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
0

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

//Just use sudo in command!
sudo mysql -u root -p
Posted by: Guest on November-11-2021

Code answers related to "sqlstate[hy000] [1698] access denied for user 'root'@'localhost' laravel"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language