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\User\Models\UserGroupPosts), Array)
#9 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection(Object(Loserhub\User\Models\UserGroupPosts))
#10 [internal function]: Phalcon\Mvc\Model->getReadConnection()
#11 [internal function]: Phalcon\Mvc\Model\Query->getReadConnection(Object(Loserhub\User\Models\UserGroupPosts), 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/frontend/controllers/PostsController.php(446): Phalcon\Mvc\Model::__callStatic('findFirstById', Array)
#17 [internal function]: Loserhub\Frontend\Controllers\PostsController->detailsAction('1ece90679f9d66f...')
#18 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod(Object(Loserhub\Frontend\Controllers\PostsController), 'detailsAction', Array)
#19 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch()
#20 /var/www/loserhub/app/bootstrap_web.php(100): Phalcon\Mvc\Application->handle('/posts/details/...')
#21 /var/www/loserhub/public/index.php(17): require('/var/www/loserh...')
#22 {main}