Page 1 of 1

Error: Connection to localhost failed

Posted: Tue Aug 08, 2017 8:14 am
by sifur
Hello,
I'm having issue with creating new database in VestaCP.
It's showing error message:

Code: Select all

Error: Connection to localhost failed
What I did?
I don't have much knowledge on server of course, and by curious-
> I changed DB password from Server > Configure > DB > Password. I thought as this options is here it should change MySQL password without problem.
> After 3/4 days when I try add new Database, I'm getting this error.
> Then I searched here and google then tried many things. to reset mysql root password.
> I followed this viewtopic.php?f=14&t=13363 but not working.
> Here when I try this mysql -u root it's showing this error Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

I'm using Ubuntu 16 with latest vestacp installed 3 months ago.
Now I have 5 sites running on the server and that's why I can't simply uninstall or reinstall vesta again.

Please help me.

Re: Error: Connection to localhost failed

Posted: Fri Aug 11, 2017 7:10 pm
by sifur
No one want to help!