Make MySQL listen on other interfaces

Written by
Date: 2015-05-18 07:24:32 00:00


How to make MySQL listen on other interfaces?

If you want to change the default behaviour of MySQL that only listen on localhost ( and make it aviable from the outside Network. You need to edit file /etc/mysql/my.cnf and look for this line bind-address = and make it look like this one:

#bind-address     =

That is comment it out. Then restar the server.

sudo service mysql restart