Why I am getting this error on my website http://elancemarket.com/ again and again ?
Error establishing a database connection
SQL ERROR [ mysqli ]
User elancema_user already has more than 'max_user_connections' active connections [1203]
Warning: mysqli::mysqli(): (HY000/1203): User elancema_user already has more than 'max_user_connections' active connections in /home/elancemarket/public_html/ask/qa-include/qa-db.php on line 66
I am on very expensive VPS !
The server throws you this error:
That means that the specific database user has already used up all the concurrent connections at that moment and more cannot be processed.
The only option to fix without doing any programming changes is to change the
max_user_connectionsvalue in MySQL configuration. The configuration file is usually/etc/my.cnfon Linux.Other solutions might be:
You can check the current value for the user by running the command
SHOW VARIABLES LIKE 'max_user_connections';.