Adding database → Error: Connection failed on VestaCP

Posted February 17, 2015 19.9k views

Hi, on my droplet (2Gb ram, Ubuntu 14.04) I’ve installed the VestaCP (it is my 8th droplet on which I use VestaCP). I have added two databases and two sites. Everything looks as usuall but today when I tried to add a third database I get an error “Adding database → Error: Connection failed” plus that the existing databases were not running.
I tried changing the password in the /usr/local/vesta/conf/mysql.conf file and the existing databases worked but I still cannot add new database.

Can anyone help please?
Thank you in advance!


These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

This question was answered by @Prajya:

When i restart server, will get this Error: Connection failed on VestaCP,
Login to vestacp > Services > Restart mysql
It work for me

Good luck

You can see the comment here.