Skip to main content

Posts

Showing posts from August, 2016

how to reset mysql root password

Problem : 1. ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES) Solution : Rest root password   sudo dpkg-reconfigure mysql-server-5 .5              This will change the root password. 2.  ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) Solution :  ps ax | grep mysql                  sudo service mysql start                  mysql start/running, process 7226