mysql how to fix Access denied for user 'root'@'localhost' Get link Facebook X Pinterest Email Other Apps July 22, 2018 sudo mysql -u root use mysql; [mysql] update user set plugin='mysql_native_password' where User='root'; [mysql] flush privileges; Now you should be able to login with your password. Read more