Fatal Error (256): [MissingConnectionException] Database connection "SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)" is missing, or could not be created.
#0 /home/hotel71/hotel71/lib/Cake/Model/Datasource/DboSource.php(245): Mysql->connect()
#1 /home/hotel71/hotel71/lib/Cake/Model/ConnectionManager.php(101): DboSource->__construct(Array)
#2 /home/hotel71/hotel71/lib/Cake/Model/Model.php(3444): ConnectionManager::getDataSource('default')
#3 /home/hotel71/hotel71/lib/Cake/Model/Model.php(775): Model->getDataSource()
#4 /home/hotel71/hotel71/app/Controller/AppController.php(100): Model->__call('findById', Array)
#5 /home/hotel71/hotel71/app/Controller/AppController.php(100): Page->findById(2)
#6 /home/hotel71/hotel71/lib/Cake/Controller/CakeErrorController.php(74): AppController->beforeRender()
#7 [internal function]: CakeErrorController->beforeRender(Object(CakeEvent))
#8 /home/hotel71/hotel71/lib/Cake/Event/CakeEventManager.php(246): call_user_func(Array, Object(CakeEvent))
#9 /home/hotel71/hotel71/lib/Cake/Controller/Controller.php(924): CakeEventManager->dispatch(Object(CakeEvent))
#10 /home/hotel71/hotel71/lib/Cake/Error/ExceptionRenderer.php(291): Controller->render('error500')
#11 /home/hotel71/hotel71/lib/Cake/Error/ExceptionRenderer.php(273): ExceptionRenderer->_outputMessageSafe('error500')
#12 /home/hotel71/hotel71/lib/Cake/Error/ExceptionRenderer.php(187): ExceptionRenderer->_outputMessage('missingConnecti...')
#13 [internal function]: ExceptionRenderer->_cakeError(Object(MissingConnectionException))
#14 /home/hotel71/hotel71/lib/Cake/Error/ExceptionRenderer.php(165): call_user_func_array(Array, Array)
#15 /home/hotel71/hotel71/lib/Cake/Error/ErrorHandler.php(127): ExceptionRenderer->render()
#16 [internal function]: ErrorHandler::handleException(Object(MissingConnectionException))
#17 {main} [CORE/Cake/Error/ErrorHandler.php, line 136]