show variables like 'max_connections' set global max_connections = 1000; set global max_user_connections = 1000; flush privileges;