Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

Error: Connection to localhost failed

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
verus001
Posts: 22
Joined: Wed Nov 09, 2016 1:12 pm

Error: Connection to localhost failed
  • Quote

Post by verus001 » Tue Jul 02, 2019 12:44 pm

Hi,

I had to reinstall my server and now I get the following when I am restoring:

-- DB --
2019-07-02 12:39:55 admin_default
Error: Connection to localhost failed

Can someone help please?
Thnx.
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: Error: Connection to localhost failed
  • Quote

Post by grayfolk » Tue Jul 02, 2019 3:19 pm

verus001 wrote: ↑
Tue Jul 02, 2019 12:44 pm
Hi,

I had to reinstall my server and now I get the following when I am restoring:

-- DB --
2019-07-02 12:39:55 admin_default
Error: Connection to localhost failed

Can someone help please?
Thnx.
Update mysql root password in /usr/local/vesta/conf/mysql.conf.
Top

Nakao
Posts: 9
Joined: Sun Dec 20, 2020 9:12 am

Os: CentOS 6x
Web: apache + nginx
Re: Error: Connection to localhost failed
  • Quote

Post by Nakao » Mon Jan 04, 2021 11:03 pm

Thank you guys for suggestion.

I recommend that you should restart MySQL after change the password. See this topic here to do that: viewtopic.php?t=17561
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

cron

Login  •  Register

I forgot my password