[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: MySQL Won't Bind to TCP Port 3306?

Dans un message du 12 jun à 11:11, Eric Pretorious écrivait :
> I've installed mysql-server, mysql-client, and a few other mysql-related 
> packages. Everything's swell but I've got one question: Why won't mysql 
> bind to port 3306? I've checked /etc/mysql/my.cnf, /var/log/mysql.log, and 
> /var/log/mysql/mysql.err but can't find the root-cause.

Taken from /usr/share/doc/mysql-server/README.Debian :

For security reasons, the Debian package has enabled the skip-networking
option in /etc/mysql/my.cnf. Comment it out and restart the server to
enable connections on tcp port 3306. Check with "netstat -tlnp" if it's

Taken from /etc/mysql/my.cnf :

# The skip-networkin option will no longer be set via debconf menu.  You
# have to manually change it if you want networking i.e. the server
# listening on port 3306. The default is "disable" - for security
# reasons.


Guillaume Morin <guillaume@morinfr.org>

        Debian - What your mom would use if it were twenty times easier.

Reply to: