Change connection settings in MySql

SET GLOBAL max_connect_errors = 100000000;
SET GLOBAL max_connections = 10000;
SHOW VARIABLES LIKE "max_connections";
SHOW VARIABLES LIKE "max_connect_errors";
FLUSH HOSTS;