16 декабря 2011 г.

Lost connection to MySQL server at 'reading initial communication packet', system error

If you get the following error
Lost connection to MySQL server at 'reading initial communication packet', system error
when trying to connect to MySQL server remotely, open the /etc/mysql/my.cnf file and edit the bind-address parameter from the 127.0.0.1 to the IP-address you actually use.

Комментариев нет: