[SOLVED] How to change MySQL root password
Posted: Tue Jul 15, 2014 11:51 pm
Worked for me on Ubuntu 14.04 x64:
Also update the vestacp configuration file so that the backup process can access your database with the new password:
change the file mysql.conf located in "/usr/local/vesta/conf"
Code: Select all
# (Log onto or SSH access into your server's command line)
# Log into database (replace your_host with your selected host name you made during vestacp install)
mysql -h your_host -u root
# Change password for root user (replace yourpassword with your desired password, make sure to keep the quotes in though)
SET PASSWORD FOR root@localhost = PASSWORD('yourpassword');
# You are now able to log into phpmyadmin with user : root and password: yourpassword
change the file mysql.conf located in "/usr/local/vesta/conf"