Following this thread. I've successfully edited my my.cnf file to comment out the #bind-address
value and also tried to specify 0.0.0.0
and the specific IP address I want to allow connections.
I do notice that while doing this my.cnf is linked like:
lrwxrwxrwx 1 root root 24 Sep 9 06:21 my.cnf -> /etc/alternatives/my.cnf
and then this my.cnf is also linked:
lrwxrwxrwx 1 root root 20 Sep 9 06:23 my.cnf -> /etc/mysql/mysql.cnf
So in reality, I'm editing the mysql.cnf file.
I stop/start the MYSQL server.
I then run the netstat -nat | grep :3306
and it gives me a:
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN
I then go over to the client and get the Can't connect to MySQL server on 'server_name'
What am I doing wrong?