Change max_user_connections without restarting the MySQL server

First, check the current value of max_user_connections variable, using client:

SHOW variables;
Set the value:
SET GLOBAL max_user_connections=150;