Whoops!

mysqli_connect(): (08004/1040): Too many connections
/system/libraries/Db/Driver/Mysqli.php: 14

DEBUG:

Array
(
    [0] => Array
        (
            [file] => /var/www/vhosts/smco.ie/httpdocs/system/libraries/Core.php
            [line] => 56
            [function] => error
            [class] => Core
            [type] => ::
            [args] => Array
                (
                    [0] => mysqli_connect(): (08004/1040): Too many connections
/system/libraries/Db/Driver/Mysqli.php: 14
[1] => 1 ) ) [1] => Array ( [function] => onError [class] => Core [type] => :: [args] => Array ( [0] => 2 [1] => mysqli_connect(): (08004/1040): Too many connections [2] => /var/www/vhosts/smco.ie/httpdocs/system/libraries/Db/Driver/Mysqli.php [3] => 14 [4] => Array ( ) ) ) [2] => Array ( [file] => /var/www/vhosts/smco.ie/httpdocs/system/libraries/Db/Driver/Mysqli.php [line] => 14 [function] => mysqli_connect [args] => Array ( [0] => localhost [1] => dotser [2] => 7dgirqz3wsne ) ) [3] => Array ( [file] => /var/www/vhosts/smco.ie/httpdocs/system/libraries/Db/Driver/Mysqli.php [line] => 21 [function] => open [class] => Db_Driver_Mysqli [object] => Db_Driver_Mysqli Object ( [link] => [server] => localhost [username] => dotser [password] => 7dgirqz3wsne [database] => smco_ie_main [queries] => 1 [driver] => Mysqli [sql] => SELECT Name, Value FROM Config ) [type] => -> [args] => Array ( ) ) [4] => Array ( [file] => /var/www/vhosts/smco.ie/httpdocs/system/libraries/Db/Driver/Mysqli.php [line] => 26 [function] => exec [class] => Db_Driver_Mysqli [object] => Db_Driver_Mysqli Object ( [link] => [server] => localhost [username] => dotser [password] => 7dgirqz3wsne [database] => smco_ie_main [queries] => 1 [driver] => Mysqli [sql] => SELECT Name, Value FROM Config ) [type] => -> [args] => Array ( [0] => SELECT Name, Value FROM Config ) ) [5] => Array ( [file] => /var/www/vhosts/smco.ie/httpdocs/system/libraries/Db/Loader/Array.php [line] => 9 [function] => query [class] => Db_Driver_Mysqli [object] => Db_Driver_Mysqli Object ( [link] => [server] => localhost [username] => dotser [password] => 7dgirqz3wsne [database] => smco_ie_main [queries] => 1 [driver] => Mysqli [sql] => SELECT Name, Value FROM Config ) [type] => -> [args] => Array ( [0] => SELECT Name, Value FROM Config ) ) [6] => Array ( [file] => /var/www/vhosts/smco.ie/httpdocs/application/config/app.php [line] => 9 [function] => get [class] => Db_Loader_Array [type] => :: [args] => Array ( [0] => SELECT Name, Value FROM Config ) ) [7] => Array ( [file] => /var/www/vhosts/smco.ie/httpdocs/index.php [line] => 2 [args] => Array ( [0] => /var/www/vhosts/smco.ie/httpdocs/application/config/app.php ) [function] => require ) )