Database connection "SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111" is missing, or could not be created.
Error: An Internal Error Has Occurred.
Stack Trace
- CORE/Cake/Model/Datasource/DboSource.php line 260 → Mysql->connect()
- CORE/Cake/Model/ConnectionManager.php line 101 → DboSource->__construct(array)
- CORE/Cake/Model/Model.php line 3158 → ConnectionManager::getDataSource(string)
- CORE/Cake/Model/Model.php line 1092 → Model->setDataSource(string)
- CORE/Cake/Model/Model.php line 3180 → Model->setSource(string)
- CORE/Cake/Model/Model.php line 2631 → Model->getDataSource()
- APP/Controller/AppController.php line 201 → Model->find(string, array)
- APP/Controller/UsersController.php line 43 → AppController->getCurrentBatchName()
- [internal function] → UsersController->login()
- CORE/Cake/Controller/Controller.php line 485 → ReflectionMethod->invokeArgs(UsersController, array)
- CORE/Cake/Routing/Dispatcher.php line 186 → Controller->invokeAction(CakeRequest)
- CORE/Cake/Routing/Dispatcher.php line 161 → Dispatcher->_invoke(UsersController, CakeRequest, CakeResponse)
- APP/webroot/index.php line 92 → Dispatcher->dispatch(CakeRequest, CakeResponse)