Warning: mysqli_connect(): (HY000/1040): Too many connections in /mnt/hdd/var/www/haziretito.hu/Classes/CurDB.class.php on line 50

Warning: mysqli_thread_id() expects parameter 1 to be mysqli, boolean given in /mnt/hdd/var/www/haziretito.hu/Classes/CurDB.class.php on line 122

Warning: mysqli_errno() expects parameter 1 to be mysqli, boolean given in /mnt/hdd/var/www/haziretito.hu/Classes/CurDB.class.php on line 66

Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /mnt/hdd/var/www/haziretito.hu/Classes/CurDB.class.php on line 77

Error :-(

Database error on connection : Cannot execute query. in /mnt/hdd/var/www/haziretito.hu/Classes/CurDB.class.php at line #50

trace:
#0 /mnt/hdd/var/www/haziretito.hu/Classes/CurDB.class.php(226): CurDB::connect()
#1 /mnt/hdd/var/www/haziretito.hu/Classes/CONFIG.php(100): require('/mnt/hdd/var/ww...')
#2 /mnt/hdd/var/www/haziretito.hu/Classes/inc_init.php(3): require('/mnt/hdd/var/ww...')
#3 /mnt/hdd/var/www/haziretito.hu/index.php(3): require('/mnt/hdd/var/ww...')
#4 {main}

__toString():
Error of type CurDBQueryException occured. The request cannot be completed at the moment.

dump:
CurDBQueryException Object
(
    [params] => Array
        (
            [sent_sql] => CONNECT
            [server_response] => 
        )

    [message:protected] => Database error on connection : Cannot execute query.
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => /mnt/hdd/var/www/haziretito.hu/Classes/CurDB.class.php
    [line:protected] => 50
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /mnt/hdd/var/www/haziretito.hu/Classes/CurDB.class.php
                    [line] => 226
                    [function] => connect
                    [class] => CurDB
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [1] => Array
                (
                    [file] => /mnt/hdd/var/www/haziretito.hu/Classes/CONFIG.php
                    [line] => 100
                    [args] => Array
                        (
                            [0] => /mnt/hdd/var/www/haziretito.hu/Classes/CurDB.class.php
                        )

                    [function] => require
                )

            [2] => Array
                (
                    [file] => /mnt/hdd/var/www/haziretito.hu/Classes/inc_init.php
                    [line] => 3
                    [args] => Array
                        (
                            [0] => /mnt/hdd/var/www/haziretito.hu/Classes/CONFIG.php
                        )

                    [function] => require
                )

            [3] => Array
                (
                    [file] => /mnt/hdd/var/www/haziretito.hu/index.php
                    [line] => 3
                    [args] => Array
                        (
                            [0] => /mnt/hdd/var/www/haziretito.hu/Classes/inc_init.php
                        )

                    [function] => require
                )

        )

    [previous:Exception:private] => 
)