"Lost connection to MySQL server" when using different port
Hello,
I'm getting the following error on my webpage : Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /var/www/vhosts/... When I use the default MySQL port 3306, then I have no error. But when I use port 33060, then I get the error ! My /etc/my.cnf : Code:
[mysqld] Does anyone know a solution ? |
I think you have a php problem. Find how to connect to a different mysql host:port
|
All times are GMT -5. The time now is 06:35 PM. |