Missing Database Connection
Error:
A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [2002] No such file or directory
Notice: If you want to customize this error message, create app/View/Errors/missing_connection.ctp
Stack Trace
- CORE/Cake/Model/Datasource/DboSource.php line 278 → Mysql->connect()
- CORE/Cake/Model/ConnectionManager.php line 105 → DboSource->__construct()
- CORE/Cake/Model/Model.php line 3659 → ConnectionManager::getDataSource()
- CORE/Cake/Model/Model.php line 1162 → Model->setDataSource()
- CORE/Cake/Model/Model.php line 3686 → Model->setSource()
- CORE/Cake/Model/Model.php line 3053 → Model->getDataSource()
- CORE/Cake/Model/Model.php line 3025 → Model->_readDataSource()
- APP/Controller/VolumesController.php line 26 → Model->find()
- [internal function] → VolumesController->view()
- CORE/Cake/Controller/Controller.php line 499 → ReflectionMethod->invokeArgs()
- CORE/Cake/Routing/Dispatcher.php line 193 → Controller->invokeAction()
- CORE/Cake/Routing/Dispatcher.php line 167 → Dispatcher->_invoke()
- APP/webroot/index.php line 117 → Dispatcher->dispatch()