An error occurred in The Bug Genie

Could not connect to the database [SQLSTATE[08004] [1040] Too many connections], dsn: mysql:host=127.0.0.1;dbname=ufoai_bugs

An exception was thrown in the B2DB framework

/home/ufoai/htdocs/thebuggenie/vendor/thebuggenie/b2db/src/Core.php, line 625:
Could not connect to the database [SQLSTATE[08004] [1040] Too many connections], dsn: mysql:host=127.0.0.1;dbname=ufoai_bugs

SQL:

Stack trace:

Log messages:

info [main] 0.36 ms  Caching enabled: filesystem
info [core] 0.39 ms  Loading configuration from cache
info [core] 0.61 ms  Done Loading Configuration
info [main] 0.62 ms  Initializing Caspar framework
info [main] 0.63 ms  PHP_SAPI says "apache2handler"
info [main] 0.64 ms  We are version "4.3.1"
info [main] 0.64 ms  Debug mode: yes
info [main] 0.65 ms  Initializing session
info [main] 0.83 ms  done (initializing session)
info [main] 0.84 ms  Loading B2DB
info [main] 0.99 ms  ...done (Initializing B2DB)
info [main] 1.01 ms  Database connection details found, connecting
info [routing] 3.22 ms  URL is 'ufoalieninvasion/issues/5322/next/open'
info [routing] 3.25 ms  URL is now '/ufoalieninvasion/issues/5322/next/open'
info [routing] 3.3 ms  URL is now '/ufoalieninvasion/issues/5322/next/open'
info [routing] 3.31 ms  no matching route found
info [routing] 3.32 ms  URL is 'ufoalieninvasion/issues/5322/next/open'
info [routing] 3.33 ms  URL is now '/ufoalieninvasion/issues/5322/next/open'
info [routing] 3.35 ms  URL is now '/ufoalieninvasion/issues/5322/next/open'
info [routing] 3.35 ms  no matching route found
info [routing] 3.36 ms  URL is 'ufoalieninvasion/issues/5322/next/open'
info [routing] 3.37 ms  URL is now '/ufoalieninvasion/issues/5322/next/open'
info [routing] 3.38 ms  URL is now '/ufoalieninvasion/issues/5322/next/open'
info [routing] 3.38 ms  no matching route found