Errors

Missing Database Connection

Error: A Database connection using "Mysql" was missing or unable to connect.
The database server returned this error: SQLSTATE[HY000] [2005] Unknown MySQL server host 'mysql51-32.pro' (2)

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

Stack Trace

  • CORE/Cake/Model/Datasource/DboSource.php line 260 → Mysql->connect()
  • CORE/Cake/Model/ConnectionManager.php line 105 → DboSource->__construct(array)
  • CORE/Cake/Model/Model.php line 3476 → ConnectionManager::getDataSource(string)
  • CORE/Cake/Model/Model.php line 1126 → Model->setDataSource(string)
  • CORE/Cake/Model/Model.php line 3498 → Model->setSource(string)
  • CORE/Cake/Model/Model.php line 1355 → Model->getDataSource()
  • CORE/Cake/View/Helper/FormHelper.php line 207 → Model->schema()
  • CORE/Cake/View/Helper/FormHelper.php line 459 → FormHelper->_introspectModel(string, string)
  • APP/View/Users/login.ctp line 6 → FormHelper->create(string, array)
  • CORE/Cake/View/View.php line 935 → include(string)
  • CORE/Cake/View/View.php line 897 → View->_evaluate(string, array)
  • CORE/Cake/View/View.php line 466 → View->_render(string)
  • CORE/Cake/Controller/Controller.php line 952 → View->render(null, null)
  • CORE/Cake/Routing/Dispatcher.php line 192 → Controller->render()
  • CORE/Cake/Routing/Dispatcher.php line 160 → Dispatcher->_invoke(UsersController, CakeRequest, CakeResponse)
  • APP/webroot/index.php line 110 → Dispatcher->dispatch(CakeRequest, CakeResponse)