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

[Solved] "Error: Connection to localhost failed" when changing password

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
2 posts • Page 1 of 1
Spheerys
Posts: 225
Joined: Tue Dec 29, 2015 12:36 pm

Os: Debian 7x
Web: apache + nginx
[Solved] "Error: Connection to localhost failed" when changing password
  • Quote

Post by Spheerys » Sat Oct 13, 2018 4:16 pm

Hi,

I have a working well server, but suddently I couldn't change any database password from backend neither CLI.
The error is "Error: Connection to localhost failed"
But I can connect to phpmyadmin without problem, every websites working well...

What's appends ?
Last edited by Spheerys on Thu Oct 18, 2018 9:38 am, edited 1 time in total.
Top

Spheerys
Posts: 225
Joined: Tue Dec 29, 2015 12:36 pm

Os: Debian 7x
Web: apache + nginx
Re: "Error: Connection to localhost failed" when changing password
  • Quote

Post by Spheerys » Thu Oct 18, 2018 9:37 am

I have found the issue : the pass was different on /root/my.cnf and /usr/local/vesta/conf/mysql.conf
I don't know why, but after change the /usr/local/vesta/conf/mysql.conf from /root/my.cnf it works again
Top


Post Reply
  • Print view

2 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
 

 

Login  •  Register

I forgot my password