PDOException Object
(
    [message:protected] => SQLSTATE[HY000] [2002] Connection refused
    [string:Exception:private] => 
    [code:protected] => 2002
    [file:protected] => /sata2/home/users/xesko/www/www.energoaudit.ks.ua/include/some_func.php
    [line:protected] => 22
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /sata2/home/users/xesko/www/www.energoaudit.ks.ua/include/some_func.php
                    [line] => 22
                    [function] => __construct
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => mysql:host=db20.freehost.com.ua;dbname=xesko_jp;charset=utf8
                            [1] => xesko_site
                            [2] => QIyxLNv28
                            [3] => Array
                                (
                                    [1002] => SET NAMES utf8
                                    [3] => 2
                                    [19] => 2
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /sata2/home/users/xesko/www/www.energoaudit.ks.ua/include/ini.php
                    [line] => 78
                    [args] => Array
                        (
                            [0] => /sata2/home/users/xesko/www/www.energoaudit.ks.ua/include/some_func.php
                        )

                    [function] => include
                )

            [2] => Array
                (
                    [file] => /sata2/home/users/xesko/www/www.energoaudit.ks.ua/index.php
                    [line] => 4
                    [args] => Array
                        (
                            [0] => /sata2/home/users/xesko/www/www.energoaudit.ks.ua/include/ini.php
                        )

                    [function] => include
                )

        )

    [previous:Exception:private] => 
    [errorInfo] => 
)