Are you want to change the password of your MySQL database, then keep your close attention in this tutorial as I am going to share how to change MySQL password using the command line.
Below is the code to change MySQL password. It will work with the MySQL 5.x versions. Open command window
or terminal if you are using Linux and execute the following few commands.
update user set password=PASSWORD('YOUR_NEW_PASSWORD') where User='root';
Do you like & share this article with your friends, and don’t forget to follow us on Facebook and Twitter to learn cool tutorials.