Report this

What is the reason for this report?

Adding database → Error: Connection failed on VestaCP

Posted on February 17, 2015

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!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.