Fix MySQL connections.