PDOException ERROR: SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
FILE TRACE:

0: "/srv/cred24lt/application/LiveCart.php":132 - Phalcon\Db\Adapter\Pdo->__construct(Array)
1: "/srv/cred24lt/module/cred/application/model/ProviderType.php":23 - Phalcon\Mvc\Model\Criteria->execute()
2: "/srv/cred24lt/module/cred/application/configuration/route/cred-types.php":12 - cred\application\model\ProviderType->rebuildCache()
3: "/srv/cred24lt/application/configuration/route/core.php":69 - include("/srv/cred24lt/module/cred/application/configuration/route/cred-types.php")
4: "/srv/cred24lt/public/index.php":87 - include("/srv/cred24lt/application/configuration/route/core.php")
5: "/srv/cred24lt/public/index.php":277 - Phalcon\Mvc\Application->handle()