Configuring max_connections for mysql