[TriLUG] what could block port=3306?

Alan Porter porter at trilug.org
Sat Jan 19 10:19:42 EST 2008


Make sure someone is actually LISTENING on port 3306.

$ netstat -plnt

You should see one line like this:
tcp   0   0  127.0.0.1:3306   0.0.0.0:*   LISTEN   5002/mysqld 


In my case, mysqld is only listening on the 'lo' interface.
Make sure that mysql is not using UNIX sockets (which use
a file handle instead of an IP address).

Alan






.






More information about the TriLUG mailing list