Hi,
Using a fresh install of MySQL 5.1.41 on Ubuntu Lucid,
I get this error when trying to connect to its hostname
interface:
ERROR 2013 (HY000): Lost connection to MySQL server at \
'reading initial communication packet', system error: 0
But it works fine when I connect to the localhost
interface. The error is generated immediately, so
this is not a timeout. I do not use /etc/hosts.allow.
I have commented out bind-address in /etc/mysql/my.cnf.
I am out of ideas. Anyone else have a clue?
Thanks,
Fletcher
Script started on Tue Dec 6 10:35:47 2011
herminius$ mysql -p -u root -h herminius
Enter password:
ERROR 2013 (HY000): Lost connection to MySQL server at \
'reading initial communication packet', system error: 0
herminius$ mysql -p -u root -h localhost
Enter password:
Server version: 5.1.41-3ubuntu12.10 (Ubuntu)
mysql> use mysql
+------------------+-----------+-------------+
| user | host | select_priv |
+------------------+-----------+-------------+
| root | localhost | Y |
| root | herminius | Y |
| root | 127.0.0.1 | Y |
| debian-sys-maint | localhost | Y |
+------------------+-----------+-------------+
4 rows in set (0.00 sec)
mysql> Bye
herminius$
herminius$ grep bind /etc/mysql/my.cnf
#bind-address = 127.0.0.1
herminius$
herminius$ exit
Script done on Tue Dec 6 10:39:04 2011
Using a fresh install of MySQL 5.1.41 on Ubuntu Lucid,
I get this error when trying to connect to its hostname
interface:
ERROR 2013 (HY000): Lost connection to MySQL server at \
'reading initial communication packet', system error: 0
But it works fine when I connect to the localhost
interface. The error is generated immediately, so
this is not a timeout. I do not use /etc/hosts.allow.
I have commented out bind-address in /etc/mysql/my.cnf.
I am out of ideas. Anyone else have a clue?
Thanks,
Fletcher
Script started on Tue Dec 6 10:35:47 2011
herminius$ mysql -p -u root -h herminius
Enter password:
ERROR 2013 (HY000): Lost connection to MySQL server at \
'reading initial communication packet', system error: 0
herminius$ mysql -p -u root -h localhost
Enter password:
Server version: 5.1.41-3ubuntu12.10 (Ubuntu)
mysql> use mysql
+------------------+-----------+-------------+
| user | host | select_priv |
+------------------+-----------+-------------+
| root | localhost | Y |
| root | herminius | Y |
| root | 127.0.0.1 | Y |
| debian-sys-maint | localhost | Y |
+------------------+-----------+-------------+
4 rows in set (0.00 sec)
mysql> Bye
herminius$
herminius$ grep bind /etc/mysql/my.cnf
#bind-address = 127.0.0.1
herminius$
herminius$ exit
Script done on Tue Dec 6 10:39:04 2011