SQLSTATE[HY000] [2002] No such file or directory
#0 [internal function]: PDO->__construct() #1 [internal function]: Phalcon\Db\Adapter\Pdo\AbstractPdo->connect() #2 /var/www/mylegacy/app/config/services.php(332): Phalcon\Db\Adapter\Pdo\AbstractPdo->__construct() #3 [internal function]: Closure->{closure}() #4 [internal function]: Phalcon\Di\Service->resolve() #5 [internal function]: Phalcon\Di->get() #6 [internal function]: Phalcon\Di->getShared() #7 [internal function]: Phalcon\Mvc\Model\Manager->getConnection() #8 [internal function]: Phalcon\Mvc\Model\Manager->getReadConnection() #9 [internal function]: Phalcon\Mvc\Model->getReadConnection() #10 [internal function]: Phalcon\Mvc\Model\MetaData\Strategy\Introspection->getMetaData() #11 [internal function]: Phalcon\Mvc\Model\MetaData->initialize() #12 [internal function]: Phalcon\Mvc\Model\MetaData->readMetaData() #13 [internal function]: Phalcon\Mvc\Model\MetaData->hasAttribute() #14 [internal function]: Phalcon\Mvc\Model\Query->_getQualified() #15 [internal function]: Phalcon\Mvc\Model\Query->_getExpression() #16 [internal function]: Phalcon\Mvc\Model\Query->_getExpression() #17 [internal function]: Phalcon\Mvc\Model\Query->_getExpression() #18 [internal function]: Phalcon\Mvc\Model\Query->_prepareSelect() #19 [internal function]: Phalcon\Mvc\Model\Query->parse() #20 [internal function]: Phalcon\Mvc\Model\Query->execute() #21 /var/www/mylegacy/app/models/ClassifiedAd.php(294): Phalcon\Mvc\Model::findFirst() #22 /var/www/mylegacy/app/controllers/ClassifiedController.php(127): ClassifiedAd::findFirst() #23 [internal function]: ClassifiedController->indexAction() #24 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->callActionMethod() #25 [internal function]: Phalcon\Dispatcher\AbstractDispatcher->dispatch() #26 /var/www/mylegacy/public/index.php(43): Phalcon\Mvc\Application->handle() #27 {main}