Author Topic: Datasource class MySQL could not be found.  (Read 36 times)

pdx97236

  • Newbie
  • *
  • Posts: 1
    • View Profile
Datasource class MySQL could not be found.
« on: November 26, 2018, 06:16:49 AM »
Having similar issues to others with this.  Cannot access the admin screen.  I get an error of:

Missing Datasource
Error: Datasource class MySQL could not be found.   Datasource class MySQL could not be found.

Notice: If you want to customize this error message, create app/View/Errors/missing_datasource.ctp

Stack Trace
CORE/Cake/Model/ConnectionManager.php line 94 → ConnectionManager::loadDataSource(string)
CORE/Cake/Model/Model.php line 3633 → ConnectionManager::getDataSource(string)
CORE/Cake/Model/Model.php line 1162 → Model->setDataSource(string)
CORE/Cake/Model/Model.php line 3660 → Model->setSource(string)
CORE/Cake/Model/Model.php line 3038 → Model->getDataSource()
CORE/Cake/Model/Model.php line 3010 → Model->_readDataSource(string, array)
CORE/Cake/Controller/Component/PaginatorComponent.php line 196 → Model->find(string, array)
CORE/Cake/Controller/Controller.php line 1089 → PaginatorComponent->paginate(null, array, array)
APP/Controller/WebConfigurationsController.php line 17 → Controller->paginate()
[internal function] → WebConfigurationsController->index()
CORE/Cake/Controller/Controller.php line 491 → ReflectionMethod->invokeArgs(WebConfigurationsController, array)
CORE/Cake/Routing/Dispatcher.php line 193 → Controller->invokeAction(CakeRequest)
CORE/Cake/Routing/Dispatcher.php line 167 → Dispatcher->_invoke(WebConfigurationsController, CakeRequest)
APP/webroot/index.php line 111 → Dispatcher->dispatch(CakeRequest, CakeResponse)