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

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

Open terminal

Type

sudo mysql

then type

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

About Rana

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

Check Also

How-to-make-custom-listener-using-interface

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 *