Просмотр/изменение кол-ва соединений к БД
SELECT @@max_connections;
SET global max_connections = 200;