PDOException Object
(
    [message:protected] => SQLSTATE[HY000] [2002] Connection refused
    [string:Exception:private] => 
    [code:protected] => 2002
    [file:protected] => /data/wwwroot/localhost/class/Mysql/Db.php
    [line:protected] => 73
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /data/wwwroot/localhost/class/Mysql/Db.php
                    [line] => 73
                    [function] => __construct
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => mysql:dbname=localhost;host=127.0.0.1:3306
                            [1] => localhost
                            [2] => SMtrjZFAG7HYkCFb
                            [3] => Array
                                (
                                    [1002] => SET NAMES utf8;
                                )

                        )

                )

            [1] => Array
                (
                    [file] => /data/wwwroot/localhost/class/Mysql/Db.php
                    [line] => 53
                    [function] => Connect
                    [class] => Mysql\Db
                    [type] => ->
                    [args] => Array
                        (
                            [0] => master
                        )

                )

            [2] => Array
                (
                    [file] => /data/wwwroot/localhost/class/Mysql/Db.php
                    [line] => 40
                    [function] => __construct
                    [class] => Mysql\Db
                    [type] => ->
                    [args] => Array
                        (
                            [0] => master
                        )

                )

            [3] => Array
                (
                    [file] => /data/wwwroot/localhost/class/Mysql/Crud.php
                    [line] => 37
                    [function] => getInstance
                    [class] => Mysql\Db
                    [type] => ::
                    [args] => Array
                        (
                            [0] => master
                        )

                )

            [4] => Array
                (
                    [file] => /data/wwwroot/localhost/class/model/Template.php
                    [line] => 33
                    [function] => getDb
                    [class] => Mysql\Crud
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [5] => Array
                (
                    [file] => /data/wwwroot/localhost/web/page.php
                    [line] => 494
                    [function] => getCount
                    [class] => model\Template
                    [type] => ->
                    [args] => Array
                        (
                        )

                )

            [6] => Array
                (
                    [file] => /data/wwwroot/localhost/web/index.php
                    [line] => 3
                    [args] => Array
                        (
                            [0] => /data/wwwroot/localhost/web/page.php
                        )

                    [function] => include
                )

        )

    [previous:Exception:private] => 
    [errorInfo] => Array
        (
            [0] => HY000
            [1] => 2002
            [2] => Connection refused
        )

)
