object(PDOException)#7 (8) {
  ["message":protected]=>
  string(77) "SQLSTATE[HY000] [2003] Can't connect to MySQL server on '222.97.189.153' (99)"
  ["string":"Exception":private]=>
  string(0) ""
  ["code":protected]=>
  int(2003)
  ["file":protected]=>
  string(25) "/home/bsia/www/app/DB.php"
  ["line":protected]=>
  int(47)
  ["trace":"Exception":private]=>
  array(5) {
    [0]=>
    array(6) {
      ["file"]=>
      string(25) "/home/bsia/www/app/DB.php"
      ["line"]=>
      int(47)
      ["function"]=>
      string(11) "__construct"
      ["class"]=>
      string(3) "PDO"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(4) {
        [0]=>
        string(47) "mysql:host=222.97.189.153;port=3307;dbname=bsia"
        [1]=>
        string(4) "bsia"
        [2]=>
        string(10) "bsiaMY@!%#"
        [3]=>
        array(1) {
          [1002]=>
          string(14) "SET NAMES utf8"
        }
      }
    }
    [1]=>
    array(6) {
      ["file"]=>
      string(25) "/home/bsia/www/app/DB.php"
      ["line"]=>
      int(29)
      ["function"]=>
      string(7) "connect"
      ["class"]=>
      string(6) "App\DB"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [2]=>
    array(6) {
      ["file"]=>
      string(26) "/home/bsia/www/app/App.php"
      ["line"]=>
      int(44)
      ["function"]=>
      string(11) "__construct"
      ["class"]=>
      string(6) "App\DB"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [3]=>
    array(6) {
      ["file"]=>
      string(29) "/home/bsia/www/config/app.php"
      ["line"]=>
      int(16)
      ["function"]=>
      string(11) "__construct"
      ["class"]=>
      string(7) "App\App"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(1) {
        [0]=>
        string(14) "/home/bsia/www"
      }
    }
    [4]=>
    array(4) {
      ["file"]=>
      string(31) "/home/bsia/www/public/index.php"
      ["line"]=>
      int(14)
      ["args"]=>
      array(1) {
        [0]=>
        string(29) "/home/bsia/www/config/app.php"
      }
      ["function"]=>
      string(12) "require_once"
    }
  }
  ["previous":"Exception":private]=>
  NULL
  ["errorInfo"]=>
  NULL
}
PDOException: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '222.97.189.153' (99) in /home/bsia/www/app/DB.php:47 Stack trace: #0 /home/bsia/www/app/DB.php(47): PDO->__construct('mysql:host=222....', 'bsia', 'bsiaMY@!%#', Array) #1 /home/bsia/www/app/DB.php(29): App\DB->connect() #2 /home/bsia/www/app/App.php(44): App\DB->__construct() #3 /home/bsia/www/config/app.php(16): App\App->__construct('/home/bsia/www') #4 /home/bsia/www/public/index.php(14): require_once('/home/bsia/www/...') #5 {main}