Resolve ERROR 1045 (28000): Access denied for user

To solve this issue, login via ssh and:

service mysqld stop

mysqld_safe –skip-grant-tables &
mysql -u root

mysql> use mysql;
mysql> UPDATE user SET Password = PASSWORD (‘yournewpassword’) WHERE User=’root’;
mysql> quit;

service mysqld start

Privacy Preferences
When you visit our website, it may store information through your browser from specific services, usually in form of cookies. Here you can change your privacy preferences. Please note that blocking some types of cookies may impact your experience on our website and the services we offer.