[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost, 127.0.0.1]: Can't connect to local MySQL server through socket '/var/lib/mysqld/mysqld.sock' (2) (400)
/www/ersro/bitrix/modules/main/lib/db/mysqlconnection.php:47
#0: Bitrix\Main\DB\MysqlConnection->connectInternal()
	/www/ersro/bitrix/modules/main/lib/db/mysqlconnection.php:74
#1: Bitrix\Main\DB\MysqlConnection->queryInternal(string, array, NULL)
	/www/ersro/bitrix/modules/main/lib/db/connection.php:284
#2: Bitrix\Main\DB\Connection->query(string)
	/www/ersro/bitrix/modules/main/lib/config/option.php:150
#3: Bitrix\Main\Config\Option::load(string, NULL)
	/www/ersro/bitrix/modules/main/lib/config/option.php:36
#4: Bitrix\Main\Config\Option::get(string, string, string)
	/www/ersro/bitrix/modules/main/lib/httprequest.php:279
#5: Bitrix\Main\HttpRequest->prepareCookie(array)
	/www/ersro/bitrix/modules/main/lib/httprequest.php:64
#6: Bitrix\Main\HttpRequest->__construct(object, array, array, array, array)
	/www/ersro/bitrix/modules/main/lib/httpapplication.php:43
#7: Bitrix\Main\HttpApplication->initializeContext(array)
	/www/ersro/bitrix/modules/main/lib/application.php:122
#8: Bitrix\Main\Application->initializeExtendedKernel(array)
	/www/ersro/bitrix/modules/main/include.php:23
#9: require_once(string)
	/www/ersro/bitrix/modules/main/include/prolog_before.php:14
#10: require_once(string)
	/www/ersro/bitrix/modules/main/include/prolog.php:11
#11: require_once(string)
	/www/ersro/bitrix/header.php:1
#12: require(string)
	/www/ersro/sro/detail.php:2
#13: include_once(string)
	/www/ersro/bitrix/modules/main/include/urlrewrite.php:155
#14: include_once(string)
	/www/ersro/bitrix/urlrewrite.php:2