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 = 127.0.0.1
[...]
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
#
http://dev.mysql.com/doc/mysql/en/se...variables.html
# 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.
[client]
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.
[mysqld_safe]
socket = /var/run/mysqld/mysqld.sock
nice = 0
[mysqld]
#
# * 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?
Recent comments
18 hours 26 min ago
21 hours 21 min ago
22 hours 35 min ago
23 hours 59 min ago
1 day 1 hour ago
1 day 3 hours ago
1 day 4 hours ago
1 day 20 hours ago
1 day 21 hours ago
2 days 51 min ago