PDO
SQLSTATE[HY000] [2002] No such file or directory
#0 [internal function]: PDO->__construct('mysql:host=loca...', 'prolab_usr', 'tQpjLSCr0sdI', Array) #1 [internal function]: Phalcon\Db\Adapter\Pdo->connect(Array) #2 /home/prolab/prolab/apps/frontend/Module.php(65): Phalcon\Db\Adapter\Pdo->__construct(Array) #3 [internal function]: Prolab\Frontend\Module->Prolab\Frontend\{closure}() #4 [internal function]: Phalcon\Di\Service->resolve(NULL, Object(Phalcon\Di\FactoryDefault)) #5 [internal function]: Phalcon\Di->get('db', NULL) #6 /home/prolab/prolab/apps/frontend/models/Company.php(12): Phalcon\Di->getShared('db') #7 [internal function]: Prolab\Frontend\Models\Company->initialize() #8 [internal function]: Phalcon\Mvc\Model\Manager->initialize(Object(Prolab\Frontend\Models\Company)) #9 [internal function]: Phalcon\Mvc\Model->__construct(NULL, Object(Phalcon\Di\FactoryDefault)) #10 [internal function]: Phalcon\Mvc\Model\Query\Builder->getPhql() #11 [internal function]: Phalcon\Mvc\Model\Query\Builder->getQuery() #12 [internal function]: Phalcon\Mvc\Model::getPreparedQuery(Array, 1) #13 /home/prolab/prolab/apps/frontend/controllers/ControllerBase.php(34): Phalcon\Mvc\Model::findFirst(1) #14 /home/prolab/prolab/apps/frontend/controllers/IndexController.php(16): Prolab\Frontend\Controllers\ControllerBase->initialize() #15 [internal function]: Prolab\Frontend\Controllers\IndexController->initialize() #16 [internal function]: Phalcon\Dispatcher->dispatch() #17 /home/prolab/prolab/public/index.php(37): Phalcon\Mvc\Application->handle() #18 {main}