Post Pic

Reset database password if you have lost the root password of mysql

Follow the below steps to easily reset the root database password even if you have lost it:

1) Stop Mysql

service mysqld stop

2) Run mysql in safe mode.

mysqld_safe --skip-grant-tables &

3) Now you can login to mysql with no password

mysql -uroot mysql

4) To reset mysql root password use the following command.

user mysql;
UPDATE user SET password=PASSWORD("abcd") WHERE user="root";
FLUSH PRIVILEGES;
quit;

At this time your root password is reset to “abcd” and MySQL will now
know the privileges and you’ll be able to login with your new password:

5) Now restart mysql service

service mysqld restart

now you can use your mysql with new password
mysql -uroot -pabcd mysql

No related posts.

One Response

04.17.10


PillSpot.org. Canadian Health&Care.Special Internet Prices.Best quality drugs.No prescription online pharmacy. Low price pills. Order drugs online

Buy:Zovirax.Prevacid.Prednisolone.Lumigan.100% Pure Okinawan Coral Calcium.Retin-A.Valtrex.Mega Hoodia.Zyban.Petcam (Metacam) Oral Suspension.Actos.Accutane.Human Growth Hormone.Synthroid.Nexium.Arimidex….

Leave Your Response

* Name, Email, Comment are Required