sudo mysql -u root
mysql> USE mysql;
mysql> UPDATE user SET plugin='mysql_native_password' WHERE User='root';
mysql> FLUSH PRIVILEGES;
mysql> exit;
service mysql restart
Forked from manhlinhng/SQLSTATE[HY000] [1698] Access denied for user 'root'@'localhost'.md
Created
May 5, 2020 02:38
-
-
Save rana01645/a9b7d4f70879b50ae6a8b633b4ac62ca to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment