Access denied for user ‘root’@’localhost’ (using password: NO) OR ERROR 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)


Access denied for user 'root'@'localhost' (using password: NO)

OR

ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)

This is the steps, what works for me sudo service mysql stop cd /usr/bin/ sudo mysqld_safe --skip-grant-tables sudo service mysql start I hope it help..!!!!!!!1