Error: connection failed
Error: connection failed
Because I wanted to upload a rather big database I changed the max post limit and the max upload limit to 64M. But since I did that I have the 'Error: connection failed' error whenever I try to access phpmyadmin, or try to delete/add a database. Here's an example:


I have no clue what do to. Any suggestions?


I have no clue what do to. Any suggestions?
Re: Error: connection failed
I have similar problem. Not all my database are not working. I can't delete any of them from the Control Panel. And I can't do anything via the terminal.
And when I tried to access a site with database, I get the following error:
Error connecting to the database: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
I'm totally stuck now. :(
And when I tried to access a site with database, I get the following error:
Error connecting to the database: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
I'm totally stuck now. :(
Re: Error: connection failed
Hello, I just did a new VestaCP Installation and I am having this same problem...
I can not create database. I am getting
Adding database → "Error: Connection failed"
Can someone help with this problem??
Tony:
I can not create database. I am getting
Adding database → "Error: Connection failed"
Can someone help with this problem??
Tony:
Re: Error: connection failed
Tony, try to change mysql root password
and then add new password in Vesta config
find it
PASSWORD='curent_passwd'
and then add new password in Vesta config
Code: Select all
/usr/local/vesta/conf/mysql.conf
PASSWORD='curent_passwd'
Code: Select all
PASSWORD='new_mysql_root_passwd'
Re: Error: connection failed
hello
the solution given by imperio to tony work also for me but now phpmyadmin/index.php is not accessible........??????
the solution given by imperio to tony work also for me but now phpmyadmin/index.php is not accessible........??????