Registrarse

SQLSTATE[HY000] [2002] No route to host
#0 [internal function]: PDO->__construct('mysql:host=192....', 'alex', 'sh@k@1986', Array)
#1 [internal function]: Phalcon\Db\Adapter\Pdo->connect(Array)
#2 /var/www/html/pacientes/app/config/services.php(79): Phalcon\Db\Adapter\Pdo->__construct(Array)
#3 [internal function]: Closure->{closure}()
#4 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault))
#5 [internal function]: Phalcon\Di->get('db', NULL)
#6 [internal function]: Phalcon\Di->getShared('db')
#7 [internal function]: Phalcon\Mvc\Model\Manager->_getConnection(Object(TipoDocumento), NULL)
#8 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection(Object(TipoDocumento))
#9 [internal function]: Phalcon\Mvc\Model->getReadConnection()
#10 [internal function]: Phalcon\Mvc\Model\Query->getReadConnection(Object(TipoDocumento), Array, NULL, NULL)
#11 [internal function]: Phalcon\Mvc\Model\Query->_executeSelect(Array, NULL, NULL)
#12 [internal function]: Phalcon\Mvc\Model\Query->execute()
#13 /var/www/html/pacientes/app/models/TipoDocumento.php(48): Phalcon\Mvc\Model::find(NULL)
#14 /var/www/html/pacientes/app/views/paciente/registry.phtml(24): TipoDocumento::find()
#15 [internal function]: unknown()
#16 [internal function]: Phalcon\Mvc\View\Engine\Php->render('/var/www/html/p...', Array, true)
#17 [internal function]: Phalcon\Mvc\View->_engineRender(Array, 'paciente/regist...', true, true, NULL)
#18 [internal function]: Phalcon\Mvc\View->render('paciente', 'registry')
#19 /var/www/html/pacientes/public/index.php(42): Phalcon\Mvc\Application->handle()
#20 {main}