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:sr/%D0%90%D0%BA%D1%82%D0%B8%D0%B2%D0%BD%D0%BE%D1%81%D1%82%D0%B8/%D0%98%D0%BD%D1%82%D0%B5%D1%80%D0%B2%D1%98%D1%83-%D0%A0%D0%B5%D0%BF%D1%83%D0%B1%D0%BB%D0%B8%D1%87%D0%BA%D0%BE%D0%B3-%D1%98%D0%B0%D0%B2%D0%BD%D0%BE%D0%B3-%D1%82%D1%83%D0%B6%D0%B8%D0%BE%D1%86%D0%B0-%D0%97%D0%B0%D0%B3%D0%BE%D1%80%D0%BA%D0%B5-%D0%94%D0%BE%D0%BB%D0%BE%D0%B2%D0%B0%D1%86-3102020
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('dictionary')
#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 [internal function]: AppModel->__construct(Array)
#9 /var/www/html/lib/Cake/Utility/ClassRegistry.php(174): ReflectionClass->newInstance(Array)
#10 /var/www/html/lib/Cake/I18n/I18n.php(442): ClassRegistry::init('Dictionary')
#11 /var/www/html/lib/Cake/I18n/I18n.php(239): I18n->_bindTextDomain('cake_dev')
#12 /var/www/html/lib/Cake/basics.php(615): I18n::translate('Database connec...', NULL, 'cake_dev')
#13 /var/www/html/lib/Cake/Error/exceptions.php(236): __d('cake_dev', 'Database connec...', Array)
#14 /var/www/html/lib/Cake/Error/exceptions.php(385): CakeException->__construct(Array, 500)
#15 /var/www/html/lib/Cake/Model/Datasource/Database/Mysql.php(194): MissingConnectionException->__construct(Array)
#16 /var/www/html/lib/Cake/Model/Datasource/DboSource.php(260): Mysql->connect()
#17 /var/www/html/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct(Array)
#18 /var/www/html/lib/Cake/Model/Model.php(3478): ConnectionManager::getDataSource('default')
#19 /var/www/html/lib/Cake/Model/Model.php(1128): Model->setDataSource('default')
#20 /var/www/html/lib/Cake/Model/Model.php(3500): Model->setSource('languages')
#21 /var/www/html/lib/Cake/Model/Model.php(1357): Model->getDataSource()
#22 /var/www/html/VectorCMS/Model/AppModel.php(513): Model->schema(false)
#23 /var/www/html/VectorCMS/Model/AppModel.php(198): AppModel->schema()
#24 /var/www/html/VectorCMS/Config/routes.php(90): AppModel->__construct()
#25 /var/www/html/app/Config/routes.php(31): require_once('/var/www/html/V...')
#26 /var/www/html/lib/Cake/Routing/Router.php(1304): include('/var/www/html/a...')
#27 /var/www/html/lib/Cake/Routing/Router.php(599): Router::_loadRoutes()
#28 /var/www/html/lib/Cake/Routing/Dispatcher.php(217): Router::parse('ci:sr/%D0%90%D0...')
#29 [internal function]: Dispatcher->parseParams(Object(CakeEvent))
#30 /var/www/html/lib/Cake/Event/CakeEventManager.php(244): call_user_func(Array, Object(CakeEvent))
#31 /var/www/html/lib/Cake/Routing/Dispatcher.php(145): CakeEventManager->dispatch(Object(CakeEvent))
#32 /var/www/html/VectorCMS/webroot/index.php(142): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#33 {main}'
$output = '2025-01-03 20:12:47 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:sr/%D0%90%D0%BA%D1%82%D0%B8%D0%B2%D0%BD%D0%BE%D1%81%D1%82%D0%B8/%D0%98%D0%BD%D1%82%D0%B5%D1%80%D0%B2%D1%98%D1%83-%D0%A0%D0%B5%D0%BF%D1%83%D0%B1%D0%BB%D0%B8%D1%87%D0%BA%D0%BE%D0%B3-%D1%98%D0%B0%D0%B2%D0%BD%D0%BE%D0%B3-%D1%82%D1%83%D0%B6%D0%B8%D0%BE%D1%86%D0%B0-%D0%97%D0%B0%D0%B3%D0%BE%D1%80%D0%BA%D0%B5-%D0%94%D0%BE%D0%BB%D0%BE%D0%B2%D0%B0%D1%86-3102020
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('dictionary')
#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 [internal function]: AppModel->__construct(Array)
#9 /var/www/html/lib/Cake/Utility/ClassRegistry.php(174): ReflectionClass->newInstance(Array)
#10 /var/www/html/lib/Cake/I18n/I18n.php(442): ClassRegistry::init('Dictionary')
#11 /var/www/html/lib/Cake/I18n/I18n.php(239): I18n->_bindTextDomain('cake_dev')
#12 /var/www/html/lib/Cake/basics.php(615): I18n::translate('Database connec...', NULL, 'cake_dev')
#13 /var/www/html/lib/Cake/Error/exceptions.php(236): __d('cake_dev', 'Database connec...', Array)
#14 /var/www/html/lib/Cake/Error/exceptions.php(385): CakeException->__construct(Array, 500)
#15 /var/www/html/lib/Cake/Model/Datasource/Database/Mysql.php(194): MissingConnectionException->__construct(Array)
#16 /var/www/html/lib/Cake/Model/Datasource/DboSource.php(260): Mysql->connect()
#17 /var/www/html/lib/Cake/Model/ConnectionManager.php(105): DboSource->__construct(Array)
#18 /var/www/html/lib/Cake/Model/Model.php(3478): ConnectionManager::getDataSource('default')
#19 /var/www/html/lib/Cake/Model/Model.php(1128): Model->setDataSource('default')
#20 /var/www/html/lib/Cake/Model/Model.php(3500): Model->setSource('languages')
#21 /var/www/html/lib/Cake/Model/Model.php(1357): Model->getDataSource()
#22 /var/www/html/VectorCMS/Model/AppModel.php(513): Model->schema(false)
#23 /var/www/html/VectorCMS/Model/AppModel.php(198): AppModel->schema()
#24 /var/www/html/VectorCMS/Config/routes.php(90): AppModel->__construct()
#25 /var/www/html/app/Config/routes.php(31): require_once('/var/www/html/V...')
#26 /var/www/html/lib/Cake/Routing/Router.php(1304): include('/var/www/html/a...')
#27 /var/www/html/lib/Cake/Routing/Router.php(599): Router::_loadRoutes()
#28 /var/www/html/lib/Cake/Routing/Dispatcher.php(217): Router::parse('ci:sr/%D0%90%D0...')
#29 [internal function]: Dispatcher->parseParams(Object(CakeEvent))
#30 /var/www/html/lib/Cake/Event/CakeEventManager.php(244): call_user_func(Array, Object(CakeEvent))
#31 /var/www/html/lib/Cake/Routing/Dispatcher.php(145): CakeEventManager->dispatch(Object(CakeEvent))
#32 /var/www/html/VectorCMS/webroot/index.php(142): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#33 {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 ??