I am getting error "user has exceeded the 'max_user_connections' resource (current value: 30)".
Just run the grep command to find the mysql configuration file
$ grep -r "max_user_connections" /etc/mysql
It will point the configuration files, here you can change the value whatever you want.
e.g) max_user_connections = 100
After that we need to restart the mysql server.
You can change the
MAX_USER_CONNECTIONS value by run grant mysql command, in this way we can change the value to specific user and host.
mysql> GRANT USAGE ON *.* TO 'user_name'@'localhost' WITH MAX_USER_CONNECTIONS 10;