(Dec 29) New version 0.9.8-18 has been released

Error: Connection to localhost failed

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Forum rules
Before creating a new topic or reply on the forum you should fill out additional fields "Os" and "Web" in your profile section.
In case of violation, the topic can be closed or response from the support will not be received.
sifur
Posts: 24
Joined: Mon Dec 28, 2015 10:43 pm

Error: Connection to localhost failed

Postby sifur » Tue Aug 08, 2017 8:14 am

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.

sifur
Posts: 24
Joined: Mon Dec 28, 2015 10:43 pm

Re: Error: Connection to localhost failed

Postby sifur » Fri Aug 11, 2017 7:10 pm

No one want to help!


Return to “Database Server”



Who is online

Users browsing this forum: No registered users and 1 guest

cron