Oops! It appears that you have disabled your Javascript. In order for you to see this page as it is meant to appear, we ask that you please re-enable your Javascript!

Issue :

How to reset MySQL ‘root’ password ?

Solution :

-> Stop the mysql daemon.

/etc/init.d/mysqld stop

-> Run the following commands :

mysqld_safe –skip-grant-tables &
mysql -u root
mysql> use mysql;
mysql> update user set password=PASSWORD(“newrootpassword”) where User=’root’;
mysql> flush privileges;
mysql> quit

-> Restart the service.

/etc/init.d/mysqld stop
/etc/init.d/mysqld start

Contact Us On WhatsApp