SQLSTATE[HY000] [2002] Connection refused
#0 [internal function]: PDO->__construct('mysql:host=127....', 'cg2019', 'pR2aK6vCi0xhsXR...', Array)
#1 [internal function]: Phalcon\Db\Adapter\Pdo->connect(Array)
#2 /var/www/html/cg2019/app/config/services.php(38): 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(Cg2019\Models\CcServiceStatus), NULL)
#8 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection(Object(Cg2019\Models\CcServiceStatus))
#9 [internal function]: Phalcon\Mvc\Model->getReadConnection()
#10 [internal function]: Phalcon\Mvc\Model\MetaData\Strategy\Introspection->getMetaData(Object(Cg2019\Models\CcServiceStatus), Object(Phalcon\Di\FactoryDefault))
#11 [internal function]: Phalcon\Mvc\Model\MetaData->_initialize(Object(Cg2019\Models\CcServiceStatus), 'cg2019\\models\\c...', 'cc_service_stat...', 'cg2019')
#12 [internal function]: Phalcon\Mvc\Model\MetaData->readMetaDataIndex(Object(Cg2019\Models\CcServiceStatus), 1)
#13 [internal function]: Phalcon\Mvc\Model\MetaData->getPrimaryKeyAttributes(Object(Cg2019\Models\CcServiceStatus))
#14 [internal function]: Phalcon\Mvc\Model\Query\Builder->getPhql()
#15 [internal function]: Phalcon\Mvc\Model\Query\Builder->getQuery()
#16 [internal function]: Phalcon\Mvc\Model::getPreparedQuery(Array, 1)
#17 /var/www/html/cg2019/app/common/models/CcServiceStatus.php(89): Phalcon\Mvc\Model::findFirst(1)
#18 /var/www/html/cg2019/app/common/library/CcSerciesStatusManager.php(18): Cg2019\Models\CcServiceStatus::findFirst(1)
#19 /var/www/html/cg2019/app/modules/frontend/controllers/CartController.php(42): Cg2019\CcSerciesStatusManager::get()
#20 [internal function]: Cg2019\Modules\Frontend\Controllers\CartController->indexAction()
#21 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(Cg2019\Modules\Frontend\Controllers\CartController), 'indexAction', Array)
#22 [internal function]: Phalcon\Dispatcher->dispatch()
#23 /var/www/html/cg2019/app/bootstrap_web.php(63): Phalcon\Mvc\Application->handle()
#24 /var/www/html/cg2019/public/index.php(2): require('/var/www/html/c...')
#25 {main}