SQLSTATE[HY000] [2002] Connection refused
#0 [internal function]: PDO->__construct('mysql:charset=u...', 'foto_user', 'Tf5BFThUQ9bLPUX...', Array) #1 [internal function]: Phalcon\Db\Adapter\Pdo\AbstractPdo->connect(Array) #2 /home/fotokartnet/public_html/app/config/services.php(105): Phalcon\Db\Adapter\Pdo\AbstractPdo->__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(DM\Models\PhotoSession), Array) #8 [internal function]: Phalcon\Mvc\Model\Manager->getWriteConnection(Object(DM\Models\PhotoSession)) #9 [internal function]: Phalcon\Mvc\Model->getWriteConnection() #10 /home/fotokartnet/public_html/app/utils/UserSession.php(131): Phalcon\Mvc\Model->save() #11 /home/fotokartnet/public_html/app/utils/UserSession.php(28): DM\Utils\UserSession->createNewPhotoSession() #12 /home/fotokartnet/public_html/app/controllers/Base/ControllerBase.php(38): DM\Utils\UserSession->onConstruct() #13 [internal function]: DM\Controllers\Base\ControllerBase->onConstruct() #14 [internal function]: Phalcon\Mvc\Controller->__construct() #15 [internal function]: Phalcon\Di->get('DM\\Controllers\\...', NULL) #16 [internal function]: Phalcon\Di->getShared('DM\\Controllers\\...') #17 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch() #18 /home/fotokartnet/public_html/public/index.php(83): Phalcon\Mvc\Application->handle('/') #19 {main}