[Bitrix\Main\DB\ConnectionException] 
Mysql connect error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (400)
#0: Bitrix\Main\DB\MysqlConnection->connectInternal()
	/var/www/vhosts/swos.ru/httpdocs/bitrix/modules/main/lib/data/connection.php:48
#1: Bitrix\Main\Data\Connection->getResource()
	/var/www/vhosts/swos.ru/httpdocs/bitrix/modules/main/lib/db/mysqlsqlhelper.php:11
#2: Bitrix\Main\DB\MysqlSqlHelper->forSql(string)
	/var/www/vhosts/swos.ru/httpdocs/bitrix/modules/main/lib/eventmanager.php:166
#3: Bitrix\Main\EventManager->registerEventHandlerInternal(string, string, string, string, string, integer, string, array, integer)
	/var/www/vhosts/swos.ru/httpdocs/bitrix/modules/main/lib/eventmanager.php:155
#4: Bitrix\Main\EventManager->registerEventHandlerCompatible(string, string, string, string, string, integer, string, array)
	/var/www/vhosts/swos.ru/httpdocs/bitrix/modules/main/classes/general/module.php:489
#5: RegisterModuleDependences(string, string, string, string, string)
	/var/www/vhosts/swos.ru/httpdocs/bitrix/php_interface/init.php:70
#6: include_once(string)
	/var/www/vhosts/swos.ru/httpdocs/bitrix/modules/main/include.php:246
#7: require_once(string)
	/var/www/vhosts/swos.ru/httpdocs/bitrix/modules/main/include/prolog_before.php:14
#8: require_once(string)
	/var/www/vhosts/swos.ru/httpdocs/bitrix/modules/main/include/prolog.php:11
#9: require_once(string)
	/var/www/vhosts/swos.ru/httpdocs/bitrix/header.php:1
#10: require(string)
	/var/www/vhosts/swos.ru/httpdocs/diagnoses/index.php:2
#11: include_once(string)
	/var/www/vhosts/swos.ru/httpdocs/bitrix/modules/main/include/urlrewrite.php:152
#12: include_once(string)
	/var/www/vhosts/swos.ru/httpdocs/bitrix/urlrewrite.php:2