How to change the mysql root password ?
How to change the mysql root password ?
Frist stop the service mysql
sudo service mysql stop
then use the –skip-grant-tables comand
sudo mysqld_safe –skip-grant-tables &
Now enter into mysql and change the password by this command.
Now stop the service and start the service again
and it will wroks fine.

Comments
Post a Comment