Configures mysql to use IP network.