Home / ‘Access denied for user ‘root’@’localhost’ solution

‘Access denied for user ‘root’@’localhost’ solution

Open terminal


sudo mysql

then type

ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘yourpassword’;

About Rana

Love to do fun with programming and build something new.. :)

Check Also


How to make custom listener using interface

We are familiar with android listeners… Listeners are used to listen user’s interaction.. As like …

Leave a Reply

Your email address will not be published. Required fields are marked *