Fix “ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: YES) “

Have you set-up a password?

This error pops-up when the password has not been set-up.

You should change your root password after installation if you have not by using following command:

sudo dpkg-reconfigure mysql-server-5.5(Or your version)

Than Enter the new password.

This will change your mysql server password and your error will be gone.

Thanks for Reading. 🙂


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s