catfan / Medoo

The lightweight PHP database framework to accelerate the development.
https://medoo.in
MIT License
4.84k stars 1.15k forks source link

max_user_connections Error When Connecting Users #638

Closed naghibi-farshad closed 7 years ago

naghibi-farshad commented 7 years ago

See the following error message when connecting users :

PHP Fatal error:  Uncaught exception 'Exception' with message 'SQLSTATE[HY000] [1203] 
User DB_USER already has more than 'max_user_connections' active connections' in .../public_html/includes/classes/Medoo.php:203

You have a solution for this Problem?

kuofp commented 7 years ago

Not a medoo problem. It's relate to max_user_connections and max_connections config setting. Check out: https://stackoverflow.com/questions/11767487/disable-max-user-connections-limits https://stackoverflow.com/questions/11183727/how-to-solve-mysql-max-user-connections-error