Code Context$type = 'error'
$message = '[MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes: array (
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [2013] Lost connection to MySQL server at \'reading initial communication packet\', system error: 111',
'enabled' => true,
)
Request URL: /ci:ci/%D0%9D%D0%B0%D1%98%D0%B0%D0%B2%D0%B5-%D0%B4%D0%BE%D0%B3%D0%B0%D1%92%D0%B0%D1%98%D0%B0/%D0%9A%D0%BE%D0%BD%D0%BA%D1%83%D1%80%D1%81
Stack Trace:
#0 /var/www/html/lib/Cake/Model/Datasource/DboSource.php(260): Mysql->connect()
#1 /var/www/html/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct(Array)
#2 /var/www/html/lib/Cake/Model/Model.php(3478): ConnectionManager::getDataSource('default')
#3 /var/www/html/lib/Cake/Model/Model.php(1128): Model->setDataSource('default')
#4 /var/www/html/lib/Cake/Model/Model.php(3500): Model->setSource('languages')
#5 /var/www/html/lib/Cake/Model/Model.php(1357): Model->getDataSource()
#6 /var/www/html/VectorCMS/Model/AppModel.php(513): Model->schema(false)
#7 /var/www/html/VectorCMS/Model/AppModel.php(198): AppModel->schema()
#8 /var/www/html/VectorCMS/Config/routes.php(90): AppModel->__construct()
#9 /var/www/html/app/Config/routes.php(31): require_once('/var/www/html/V...')
#10 /var/www/html/lib/Cake/Routing/Router.php(1304): include('/var/www/html/a...')
#11 /var/www/html/lib/Cake/Routing/Router.php(599): Router::_loadRoutes()
#12 /var/www/html/lib/Cake/Routing/Dispatcher.php(217): Router::parse('ci:ci/%D0%9D%D0...')
#13 [internal function]: Dispatcher->parseParams(Object(CakeEvent))
#14 /var/www/html/lib/Cake/Event/CakeEventManager.php(244): call_user_func(Array, Object(CakeEvent))
#15 /var/www/html/lib/Cake/Routing/Dispatcher.php(145): CakeEventManager->dispatch(Object(CakeEvent))
#16 /var/www/html/VectorCMS/webroot/index.php(142): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#17 {main}'
$output = '2025-01-05 17:32:27 Error: [MissingConnectionException] Database connection "Mysql" is missing, or could not be created.
Exception Attributes: array (
'class' => 'Mysql',
'message' => 'SQLSTATE[HY000] [2013] Lost connection to MySQL server at \'reading initial communication packet\', system error: 111',
'enabled' => true,
)
Request URL: /ci:ci/%D0%9D%D0%B0%D1%98%D0%B0%D0%B2%D0%B5-%D0%B4%D0%BE%D0%B3%D0%B0%D1%92%D0%B0%D1%98%D0%B0/%D0%9A%D0%BE%D0%BD%D0%BA%D1%83%D1%80%D1%81
Stack Trace:
#0 /var/www/html/lib/Cake/Model/Datasource/DboSource.php(260): Mysql->connect()
#1 /var/www/html/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct(Array)
#2 /var/www/html/lib/Cake/Model/Model.php(3478): ConnectionManager::getDataSource('default')
#3 /var/www/html/lib/Cake/Model/Model.php(1128): Model->setDataSource('default')
#4 /var/www/html/lib/Cake/Model/Model.php(3500): Model->setSource('languages')
#5 /var/www/html/lib/Cake/Model/Model.php(1357): Model->getDataSource()
#6 /var/www/html/VectorCMS/Model/AppModel.php(513): Model->schema(false)
#7 /var/www/html/VectorCMS/Model/AppModel.php(198): AppModel->schema()
#8 /var/www/html/VectorCMS/Config/routes.php(90): AppModel->__construct()
#9 /var/www/html/app/Config/routes.php(31): require_once('/var/www/html/V...')
#10 /var/www/html/lib/Cake/Routing/Router.php(1304): include('/var/www/html/a...')
#11 /var/www/html/lib/Cake/Routing/Router.php(599): Router::_loadRoutes()
#12 /var/www/html/lib/Cake/Routing/Dispatcher.php(217): Router::parse('ci:ci/%D0%9D%D0...')
#13 [internal function]: Dispatcher->parseParams(Object(CakeEvent))
#14 /var/www/html/lib/Cake/Event/CakeEventManager.php(244): call_user_func(Array, Object(CakeEvent))
#15 /var/www/html/lib/Cake/Routing/Dispatcher.php(145): CakeEventManager->dispatch(Object(CakeEvent))
#16 /var/www/html/VectorCMS/webroot/index.php(142): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#17 {main}
'
$filename = 'error.log'
$pathname = '/var/www/html/app/tmp/logs/error.log'
file_put_contents - [internal], line ??
FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 142
CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 440
ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 178
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 111
[main] - [internal], line ??