Mysql – Unable to connect to MySQL through port 3306

firewallMySQLportwindows-firewall

I read the answers about 3306 from a question posted in 2009. I have the same problem, but the answers I read didn't help. Port 3306 is open, even if I stop the , MySQL still can't access it. MySQL is running. I've run netstat firewall xxxxxx and get these results:

3306   TCP       Enable   MySQL Server

and this from netstat -a -n:

TCP    [::]:3306              [::]:0                 LISTENING       0

(I don't understand the [::])

I do have AVG Internet Security running but not the Firewall component. How can I find out what is blocking MySQL from accessing this port? And it's not just this specific port, but any port. I've asked on the MySQL forum, but no one is replying.

Best Answer

Here is a config snippet that should be informative:

[mysqld]

# The TCP/IP Port the MySQL Server will listen on
port=3306

# default IPv6,so change to ipv4 
bind-address = 0.0.0.0