PDOException Object
(
    [message:protected] => SQLSTATE[HY000] [2002] Connection refused
    [string:Exception:private] => 
    [code:protected] => 2002
    [file:protected] => /mnt/datadisk0/zhan049/system/db.php
    [line:protected] => 51
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => /mnt/datadisk0/zhan049/system/db.php
                    [line] => 51
                    [function] => __construct
                    [class] => PDO
                    [type] => ->
                    [args] => Array
                        (
                            [0] => mysql:host=127.0.0.1;dbname=ecms02;port=3306;charset=utf8mb4;
                            [1] => root
                            [2] => SensitiveParameterValue Object

                            [3] => 
                        )

                )

            [1] => Array
                (
                    [file] => /mnt/datadisk0/zhan049/system/db.php
                    [line] => 190
                    [function] => open
                    [class] => DB
                    [type] => ::
                    [args] => Array
                        (
                        )

                )

            [2] => Array
                (
                    [file] => /mnt/datadisk0/zhan049/web/index.php
                    [line] => 24
                    [args] => Array
                        (
                            [0] => /mnt/datadisk0/zhan049/system/db.php
                        )

                    [function] => require_once
                )

        )

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

)