How to find out VestaCP MySQL root password?

HostStud

Administrator
Staff member
In VestaCP MySQL root password is stored at :
/usr/local/vesta/conf/mysql.conf

How to change the VestaCP MySQL root password?

Use the mysql command to change password:
mysqladmin -u root -p OldPassword password 'NewPassword'
And then you have to update the VestaCP mysql.conf file with your new password:
nano /usr/local/vesta/conf/mysql.conf
 
Top