SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Try again
#0 [internal function]: PDO->__construct('mysql:host=rm-2...', 'school', 'schOOl_^%$EWQ!@...', Array) #1 [internal function]: Phalcon\Db\Adapter\Pdo->connect(Array) #2 /var/www/html/schoolhome/src/schoolhome/app/config/services.php(109): 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('dbSchool', NULL) #6 [internal function]: Phalcon\Di->getShared('dbSchool') #7 [internal function]: Phalcon\Mvc\Model\Manager->_getConnection(Object(Modules\Category\Model\SciCategorys), Array) #8 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection(Object(Modules\Category\Model\SciCategorys)) #9 [internal function]: Phalcon\Mvc\Model->getReadConnection() #10 [internal function]: Phalcon\Mvc\Model\MetaData\Strategy\Introspection->getMetaData(Object(Modules\Category\Model\SciCategorys), Object(Phalcon\Di\FactoryDefault)) #11 [internal function]: Phalcon\Mvc\Model\MetaData->_initialize(Object(Modules\Category\Model\SciCategorys), 'modules\\categor...', 'sci_categorys', '') #12 [internal function]: Phalcon\Mvc\Model\MetaData->readMetaData(Object(Modules\Category\Model\SciCategorys)) #13 [internal function]: Phalcon\Mvc\Model\MetaData->hasAttribute(Object(Modules\Category\Model\SciCategorys), 'id') #14 [internal function]: Phalcon\Mvc\Model\Query->_getQualified(Array) #15 [internal function]: Phalcon\Mvc\Model\Query->_getExpression(Array) #16 [internal function]: Phalcon\Mvc\Model\Query->_getSelectColumn(Array) #17 [internal function]: Phalcon\Mvc\Model\Query->_prepareSelect() #18 [internal function]: Phalcon\Mvc\Model\Query->parse() #19 [internal function]: Phalcon\Mvc\Model\Query->execute() #20 /var/www/html/schoolhome/modules/Base/Model/ModelBase.php(179): Phalcon\Mvc\Model::find(Array) #21 /var/www/html/schoolhome/modules/Category/Model/SciCategorys.php(34): Modules\Base\Model\ModelBase::select(Array, 'id,title, title...', 'sort desc,creat...') #22 /var/www/html/schoolhome/modules/Category/Server/CategoryServer.php(23): Modules\Category\Model\SciCategorys::getParentCategory(Array) #23 /var/www/html/schoolhome/modules/Common/Server/HeaderServer.php(45): Modules\Category\Server\CategoryServer::getParentCategory(2) #24 /var/www/html/schoolhome/src/schoolhome/app/controllers/ControllerBase.php(445): Modules\Common\Server\HeaderServer::headerData() #25 /var/www/html/schoolhome/src/schoolhome/app/controllers/ControllerBase.php(55): ControllerBase->headerData() #26 [internal function]: ControllerBase->onConstruct() #27 [internal function]: Phalcon\Mvc\Controller->__construct() #28 [internal function]: Phalcon\Di->get('CourseControlle...', NULL) #29 [internal function]: Phalcon\Di->getShared('CourseControlle...') #30 [internal function]: Phalcon\Dispatcher->dispatch() #31 /var/www/html/schoolhome/src/schoolhome/public/index.php(54): Phalcon\Mvc\Application->handle() #32 {main}