View Single Post
Old 28th February 2009, 01:12
sighkick sighkick is offline
Junior Member
Join Date: Feb 2009
Posts: 25
Thanks: 5
Thanked 5 Times in 2 Posts
Question MySQL listen all interfaces [ISPConfig 3]

The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3] - Page 3

vi /etc/mysql/my.cnf - the lines containing:

# Instead of skip-networking the default is now to listen only on
# localhost which is more compatible and is not less secure.
#bind-address =

Are not included in the file: - Am I doing something wrong?

# The MySQL database server configuration file.
# You can copy this to one of:
# - "/etc/mysql/my.cnf" to set global options,
# - "~/.my.cnf" to set user-specific options.
# One can use all long options that the program supports.
# Run program with --help to get a list of available options and with
# --print-defaults to see which it would actually understand and use.
# For explanations see

# This will be passed to all mysql clients
# It has been reported that passwords should be enclosed with ticks/quotes
# escpecially if they contain "#" chars...
# Remember to edit /etc/mysql/debian.cnf when changing the socket location.
port = 3306
socket = /var/run/mysqld/mysqld.sock

# Here is entries for some specific programs
# The following values assume you have at least 32M ram

# This was formally known as [safe_mysqld]. Both versions are currently parsed.
socket = /var/run/mysqld/mysqld.sock
nice = 0

# * Basic Settings
"/etc/mysql/my.cnf" 143L, 3865C 1,1 Top

I now get

zeus:~# netstat -tap | grep mysql
tcp 0 0 localhost.localdo:mysql *:* LISTEN 16563/mysqld

Which is not what the Howto suggests.

How do I edit out the localhost so that MySQL listens on all ports?

Last edited by sighkick; 28th February 2009 at 01:20. Reason: Added more information
Reply With Quote
Sponsored Links