Warning (2): PDO::__construct() [pdo.--construct]: MySQL server has gone away [CORE/Cake/Model/Datasource/Database/Mysql.php, line 149]
Warning (2): PDO::__construct() [pdo.--construct]: Error while reading greeting packet. PID=6152 [CORE/Cake/Model/Datasource/Database/Mysql.php, line 149]
Warning (2): PDO::__construct() [pdo.--construct]: MySQL server has gone away [CORE/Cake/Model/Datasource/Database/Mysql.php, line 149]
Warning (2): PDO::__construct() [pdo.--construct]: Error while reading greeting packet. PID=6152 [CORE/Cake/Model/Datasource/Database/Mysql.php, line 149]
Lasotronix

Missing Database Connection

Error: A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [2006] MySQL server has gone away

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

Stack Trace

Warning (2): PDO::__construct() [pdo.--construct]: MySQL server has gone away [CORE/Cake/Model/Datasource/Database/Mysql.php, line 149]
Warning (2): PDO::__construct() [pdo.--construct]: Error while reading greeting packet. PID=6152 [CORE/Cake/Model/Datasource/Database/Mysql.php, line 149]
CakePHP: the rapid development php framework: Errors/

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 261Mysql->connect()
  • CORE/Cake/Model/ConnectionManager.php line 101DboSource->__construct(array)
  • CORE/Cake/Model/Model.php line 3157ConnectionManager::getDataSource(string)
  • CORE/Cake/Model/Model.php line 1092Model->setDataSource(string)
  • CORE/Cake/Model/Model.php line 3179Model->setSource(string)
  • CORE/Cake/Model/Model.php line 2630Model->getDataSource()
  • ROOTpluginsROOTTranslateROOTControllerROOTComponentROOTFebI18nComponent.php line 55Model->find(string, array)
  • ROOTpluginsROOTTranslateROOTControllerROOTComponentROOTFebI18nComponent.php line 30FebI18nComponent->developer()
  • [internal function]FebI18nComponent->initialize(NewsController)
  • CORE/Cake/Utility/ObjectCollection.php line 130call_user_func_array(array, array)
  • [internal function]ObjectCollection->trigger(CakeEvent)
  • CORE/Cake/Event/CakeEventManager.php line 246call_user_func(array, CakeEvent)
  • CORE/Cake/Controller/Controller.php line 669CakeEventManager->dispatch(CakeEvent)
  • CORE/Cake/Routing/Dispatcher.php line 183Controller->startupProcess()
  • CORE/Cake/Routing/Dispatcher.php line 161Dispatcher->_invoke(NewsController, CakeRequest, CakeResponse)
  • ROOTappROOTwebrootROOTindex.php line 96Dispatcher->dispatch(CakeRequest, CakeResponse)