How to make MySQL listen to the world on Slackware 12.2

Filed under general, linux

Hi guys (and girls? … don’t know),

I recently found out how to make your MySQL-Service listen to the entire world instead of working explicitly with the socket-connection.

At first I took a look into the configuration-file, which is /etc/my.cnf in my case and found out, that it should already work. But it didn’t. After some searching I found out that the start script /etc/rc.d/rc.mysqld contained the following line:

SKIP="--skip-networking"

After commenting out that line and restarting the daemon everything worked as expected and the daemon listens at port 3306. I hope that the next guy trying to configure MySQL doesn’t have to search for a solution anymore now.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*