Monday, October 17, 2011

Reading initial communication packet system error 34

I checked the configuration of MySQL in /etc/mysql/my.cnf and found that by default MySQL is bind with other ip address that I have.

This situation occurred when I tried to map my system with other ip-address.

If this does not work try below methods

1) Edit file "/etc/hosts.deny" and commented out the default access list rule as shown below.
# ALL:ALL

2) Next I included that statement in "/etc/hosts.allow" as shown below.
ALL:ALL or mysqld: 127.0.0.1 : ALLOW

0 comments:

Post a Comment