Fix mysql listen address based on environment