Mysql password reset..
Hello,
Its easy to reset the password of mysql by going inside the mysql prompt but what if the mysql command doesnt take inside mysql prompt?
Well in that case just fire following command and you will be able to reset the mysql password.
first locate your mysql’s hostname.pid file then
kill `cat /mysql-data-directory/host_name.pid`
mysqld_safe –skip-grant-tables &
mysqladmin -u root flush-privileges password “newpassword”
New password will be the password that you want to set now.
Enjoy mysql …

















Leave a Reply
You must be logged in to post a comment.