Set / Change / Reset the MySQL root password on Ubuntu Linux

1. Stop the mysql demon process using this command :

2. Start the mysql demon process using this command :

3. Login to MySQL as root.

4. Set / Change / Reset your password with NEWPASSWORD

5. (Optional Step) If you have a root account that can access from everywhere: