object(PDOException)#23 (8) { ["message":protected]=> string(41) "SQLSTATE[HY000] [2002] Connection refused" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(2002) ["file":protected]=> string(57) "/home/vivirvia/webServices/app/Models/Source/Conector.php" ["line":protected]=> int(36) ["trace":"Exception":private]=> array(4) { [0]=> array(6) { ["file"]=> string(57) "/home/vivirvia/webServices/app/Models/Source/Conector.php" ["line"]=> int(36) ["function"]=> string(11) "__construct" ["class"]=> string(3) "PDO" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> string(83) "mysql:host=vivirviajando.ddns.net;port=3306;dbname=test_vivir_viajando;charset=utf8" [1]=> string(12) "sviviqjy_vvS" [2]=> string(16) "n[lApYDK_6Es5q.e" [3]=> array(3) { [19]=> int(2) [20]=> bool(false) [3]=> int(2) } } } [1]=> array(6) { ["file"]=> string(76) "/home/vivirvia/webServices/app/Controller/VivirViajando/Page/Reservacion.php" ["line"]=> int(21) ["function"]=> string(11) "__construct" ["class"]=> string(26) "app\Models\Source\Conector" ["type"]=> string(2) "->" ["args"]=> array(6) { [0]=> string(5) "mysql" [1]=> string(22) "vivirviajando.ddns.net" [2]=> string(4) "3306" [3]=> string(12) "sviviqjy_vvS" [4]=> string(16) "n[lApYDK_6Es5q.e" [5]=> string(19) "test_vivir_viajando" } } [2]=> array(6) { ["file"]=> string(59) "/home/vivirvia/webServices/app/Controller/Source/Config.php" ["line"]=> int(57) ["function"]=> string(4) "show" ["class"]=> string(45) "app\Controller\VivirViajando\Page\Reservacion" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [3]=> array(6) { ["file"]=> string(36) "/home/vivirvia/public_html/index.php" ["line"]=> int(7) ["function"]=> string(10) "setRequest" ["class"]=> string(28) "app\Controller\Source\Config" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> array(0) { } [1]=> string(49) "/reservacion/barrancas-del-cobre-semana-de-pascua" } } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "HY000" [1]=> int(2002) [2]=> string(18) "Connection refused" } }