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\DbMed), NULL)
#8 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection(Object(Cg2019\Models\DbMed))
#9 [internal function]: Phalcon\Mvc\Model->getReadConnection()
#10 [internal function]: Phalcon\Mvc\Model\Query->getReadConnection(Object(Cg2019\Models\DbMed), Array, NULL, NULL)
#11 [internal function]: Phalcon\Mvc\Model\Query->_executeSelect(Array, NULL, NULL)
#12 /var/www/html/cg2019/app/common/models/DbMedManager.php(106): Phalcon\Mvc\Model\Query->execute()
#13 /var/www/html/cg2019/app/common/models/DbMedManager.php(124): Cg2019\Models\DbMedManager::getHomepageProducts()
#14 /var/www/html/cg2019/app/common/library/cg_functions.php(32): Cg2019\Models\DbMedManager::getHomepageProducts2('3.236.83.14')
#15 /var/www/html/cg2019/cache/volt/modules_frontend_views_index_index.php(3): Cg2019\get_homepage_products('3.236.83.14')
#16 [internal function]: unknown()
#17 [internal function]: Phalcon\Mvc\View\Engine\Volt->render('/var/www/html/c...', Array, true)
#18 [internal function]: Phalcon\Mvc\View->_engineRender(Array, 'index/index', true, true, NULL)
#19 [internal function]: Phalcon\Mvc\View->render('index', 'index')
#20 /var/www/html/cg2019/app/bootstrap_web.php(63): Phalcon\Mvc\Application->handle()
#21 /var/www/html/cg2019/public/index.php(2): require('/var/www/html/c...')
#22 {main}