[Solved] "Error: Connection to localhost failed" when changing password
[Solved] "Error: Connection to localhost failed" when changing password
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 ?
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.
Re: "Error: Connection to localhost failed" when changing password
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
I don't know why, but after change the /usr/local/vesta/conf/mysql.conf from /root/my.cnf it works again