Increase max_connections in MySQL/MariaDB without restarting mysqld service

Great article from http://www.linux4beginners.info/node/increase-max-connections-mysql-without-restart In short, to update the setting: select @@max_connections; set global max_connections = 200; select @@max_connections; Done.