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.

d

Comments

Popular posts from this blog

How to install coWPAtty 4.6 on Ubuntu?

Alpine

How to get the user name and password of Facebook with DNS spoofing ?