出错咯!   ╮(╯_╰)╭

Exception_System : DB连接失败

/opt/www/questionnaire/Libraries/Comm/Dbbase.php"(260)"

255             $charset && $sql_init = "SET NAMES '{$charset}';";
256 
257             $pdo->query($sql_init);
258             return $pdo;
259         } catch (PDOException $e) {
260             throw new Exception_System(200101, "DB连接失败", array('pdo_code' => $e->getCode(), 'pdo_msg' => $e->getMessage()));
261         }
262     }
263 
264     /**
265      * 测试连接是否存在,如果不存在,重新连接

Stack Trace

Parameters:

		 APP_Controller_Request_Http Object
(
    [_requestUri:protected] => //
    [_baseUrl:protected] => 
    [_routes:protected] => Array
        (
            [module] => default
            [controller] => index
            [action] => index
        )

    [_defaultRoutes:protected] => Array
        (
            [module] => default
            [controller] => index
            [action] => index
        )

    [_params:protected] => Array
        (
            [USER] => Array
                (
                )

            [ACTION] => Array
                (
                )

            [PATH_INFO] => Array
                (
                )

            [GET] => Array
                (
                )

            [POST] => Array
                (
                )

            [COOKIE] => Array
                (
                )

            [URL_PARAM] => Array
                (
                )

        )

    [_paramSources:protected] => Array
        (
            [0] => USER
            [1] => ACTION
            [2] => PATH_INFO
            [3] => GET
            [4] => POST
            [5] => COOKIE
        )

)
		
2019-07-19 07:52:55