Resetting your lost password on MySQL is quite easy.
Step 1
Stop your running server and start MySQL on safe mode
# mysqld_safe --skip-grant-tables &
Step 2
Now login as root, you don't need a password here;
# mysql -u root
Step 3
Change the password using the UPDATE query
# UPDATE mysql.user SET Password=PASSWORD('type-new-password') WHERE User='root';
Step 4
Flush the privileges to get things done
# FLUSH PRIVILEGES;
Step 1
Stop your running server and start MySQL on safe mode
# mysqld_safe --skip-grant-tables &
Step 2
Now login as root, you don't need a password here;
# mysql -u root
Step 3
Change the password using the UPDATE query
# UPDATE mysql.user SET Password=PASSWORD('type-new-password') WHERE User='root';
Step 4
Flush the privileges to get things done
# FLUSH PRIVILEGES;
Very Nice, this is very important blog as I think, thanks to sharing this with us, keep sharing. similar If you want to know more about Germany Dedicated Server
ReplyDeletelove the post !!!
ReplyDeleteThank you for your intelligent post and for helping others become more aware. You made more sense than others who speak within this same area of expertise and I am really glad I found your blog-website. I’ve joined your social networks and will keep an eye out for future great posts as well. Additionally, I have shared your site in my social networks as well. Thank you again!
Brazil VPS
Very nice post about Server setup and configuration. You may also more information about server setup then visit my link USA Dedicated Server.
ReplyDeleteHi, this is a very informative blog, thank you for sharing it. Similarly you may know also about India VPS Server
ReplyDelete