SQLSTATE[08004] [1040] Too many connections

Error: An Internal Error Has Occurred.

Stack Trace

  • CORE/Cake/Model/Datasource/DboSource.php line 260Mysql->connect()
  • CORE/Cake/Model/ConnectionManager.php line 105DboSource->__construct(array)
  • CORE/Cake/Model/Model.php line 3626ConnectionManager::getDataSource(string)
  • CORE/Cake/Model/Model.php line 1155Model->setDataSource(string)
  • CORE/Cake/Model/Model.php line 3653Model->setSource(string)
  • CORE/Cake/Model/Model.php line 3031Model->getDataSource()
  • CORE/Cake/Model/Model.php line 3003Model->_readDataSource(string, array)
  • APP/Controller/StationsController.php line 110Model->find(string, array)
  • [internal function]StationsController->detail()
  • CORE/Cake/Controller/Controller.php line 491ReflectionMethod->invokeArgs(StationsController, array)
  • CORE/Cake/Routing/Dispatcher.php line 193Controller->invokeAction(CakeRequest)
  • CORE/Cake/Routing/Dispatcher.php line 167Dispatcher->_invoke(StationsController, CakeRequest)
  • APP/webroot/index.php line 111Dispatcher->dispatch(CakeRequest, CakeResponse)