Database connection "Mysql" is missing, or could not be created.

Error: An Internal Error Has Occurred.

Stack Trace

  • CORE/Cake/Model/Datasource/DboSource.php line 262Mysql->connect()
  • CORE/Cake/Model/ConnectionManager.php line 107DboSource->__construct(array)
  • CORE/Cake/Model/Model.php line 3454ConnectionManager::getDataSource(string)
  • CORE/Cake/Model/Model.php line 1124Model->setDataSource(string)
  • CORE/Cake/Model/Model.php line 3476Model->setSource(string)
  • CORE/Cake/Model/Model.php line 2880Model->getDataSource()
  • CORE/Cake/Model/Model.php line 2852Model->_readDataSource(string, array)
  • APP/Controller/AppController.php line 55Model->find(string)
  • APP/Controller/AppController.php line 43AppController->generalInformation()
  • APP/Controller/ContactsController.php line 9AppController->beforeFilter()
  • [internal function]ContactsController->beforeFilter(CakeEvent)
  • CORE/Cake/Event/CakeEventManager.php line 248call_user_func(array, CakeEvent)
  • CORE/Cake/Controller/Controller.php line 674CakeEventManager->dispatch(CakeEvent)
  • CORE/Cake/Routing/Dispatcher.php line 184Controller->startupProcess()
  • CORE/Cake/Routing/Dispatcher.php line 162Dispatcher->_invoke(ContactsController, CakeRequest, CakeResponse)
  • APP/webroot/index.php line 110Dispatcher->dispatch(CakeRequest, CakeResponse)