add support for mysql socketPath setting