Exception

Database Exceptionyii\db\Exception

SQLSTATE[HY000] [2002] Connection refused

$_SESSION = [
    '__flash' => [],
];