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