Using localhost only works when you are on Linux (using sockets) or using shared memory connections (I believe). On Windows, by default, only TCP/IP connections are possible. Because mysqld listens on port 3306, it has to bind to it, which Zone Alarm warns about connecting to the internet. It's not *really* connecting to the internet, but rather opening up the port to allow clients to connect to it using TCP/IP. The same thing happens when you start any server, such as Apache or IIS.
Main Topics
Browse All Topics





by: hernst42Posted on 2007-08-23 at 01:14:59ID: 19752310
As the mysql-service listens on a port 3306 for incomming remote connections it needs to bind to that port. You can edit your my.cnf of your mysql-server and add
skip-networking
the it doesn't bind to any tcp-ip-port and you can oly connect with "localhost" (no longer with 127.0.0.1)