Missing Database Connection
Error:
A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [1045] Access denied for user 'pdc'@'localhost' (using password: YES)
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()
- APP/Model/Shop.php line 77 → Model->getDataSource()
- APP/Model/Shop.php line 201 → Shop->_getDatabaseString()
- APP/Controller/CategoriesController.php line 22 → Shop->assignedShopsList()
- [internal function] → CategoriesController->banner_click()
- CORE/Cake/Controller/Controller.php line 504 → 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 110 → Dispatcher->dispatch()