Class: PDOException:

Exception: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo for rm-2zeu15h23144ugr5tro.mysql.rds.aliyuncs.com failed: Name or service not known

File=/var/www/loserhub/app/config/services.php Line=39

#0 [internal function]: PDO->__construct('mysql:charset=u...', 'loserhub', Object(SensitiveParameterValue), Array)
#1 [internal function]: Phalcon\Db\Adapter\Pdo\AbstractPdo->connect(Array)
#2 [internal function]: Phalcon\Db\Adapter\Pdo\AbstractPdo->__construct(Array)
#3 /var/www/loserhub/app/config/services.php(39): Phalcon\Db\Adapter\Pdo\Mysql->__construct(Array)
#4 [internal function]: Closure->{closure}()
#5 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault))
#6 [internal function]: Phalcon\Di\Di->get('db', NULL)
#7 [internal function]: Phalcon\Di\Di->getShared('db')
#8 [internal function]: Phalcon\Mvc\Model\Manager->getConnection(Object(Loserhub\Common\Models\UserGroupProfiles), Array)
#9 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection(Object(Loserhub\Common\Models\UserGroupProfiles))
#10 [internal function]: Phalcon\Mvc\Model->getReadConnection()
#11 [internal function]: Phalcon\Mvc\Model\Query->getReadConnection(Object(Loserhub\Common\Models\UserGroupProfiles), Array, Array, Array)
#12 [internal function]: Phalcon\Mvc\Model\Query->executeSelect(Array, Array, Array)
#13 [internal function]: Phalcon\Mvc\Model\Query->execute()
#14 [internal function]: Phalcon\Mvc\Model::findFirst(Array)
#15 [internal function]: Phalcon\Mvc\Model::invokeFinder('findFirstById', Array)
#16 /var/www/loserhub/app/modules/common/models/UserGroupProfiles.php(44): Phalcon\Mvc\Model->__call('findFirstById', Array)
#17 /var/www/loserhub/app/modules/frontend/controllers/GroupsController.php(277): Loserhub\Common\Models\UserGroupProfiles->findFirstByIdWithLanguage('\x1E\xCE\x90k}\x90m\xD8\xBC\xE6\x02B\xAC\e\x00...', 'zh-CN', Array)
#18 [internal function]: Loserhub\Frontend\Controllers\GroupsController->mvaAction('1ece906b7d906dd...')
#19 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(Loserhub\Frontend\Controllers\GroupsController), 'mvaAction', Array)
#20 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#21 /var/www/loserhub/app/bootstrap_web.php(100): Phalcon\Mvc\Application->handle('/groups/mva/1ec...')
#22 /var/www/loserhub/public/index.php(17): require('/var/www/loserh...')
#23 {main}