[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost, 127.0.0.1]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) (400)
/var/www/vamelectro/data/www/vamelectro.ru/bitrix/modules/main/lib/db/mysqlconnection.php:50
#0: Bitrix\Main\DB\MysqlConnection->connectInternal()
	/var/www/vamelectro/data/www/vamelectro.ru/bitrix/modules/main/lib/db/mysqlconnection.php:103
#1: Bitrix\Main\DB\MysqlConnection->queryInternal(string, array, NULL)
	/var/www/vamelectro/data/www/vamelectro.ru/bitrix/modules/main/lib/db/connection.php:330
#2: Bitrix\Main\DB\Connection->query(string)
	/var/www/vamelectro/data/www/vamelectro.ru/bitrix/modules/main/lib/orm/query/query.php:3193
#3: Bitrix\Main\ORM\Query\Query->query(string)
	/var/www/vamelectro/data/www/vamelectro.ru/bitrix/modules/main/lib/orm/query/query.php:806
#4: Bitrix\Main\ORM\Query\Query->exec()
	/var/www/vamelectro/data/www/vamelectro.ru/bitrix/modules/main/lib/orm/data/datamanager.php:467
#5: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/var/www/vamelectro/data/www/vamelectro.ru/local/modules/bp.template/lib/cmain.php:55
#6: Bp\Template\CMain->__construct()
	/var/www/vamelectro/data/www/vamelectro.ru/bitrix/php_interface/init.php:25
#7: include_once(string)
	/var/www/vamelectro/data/www/vamelectro.ru/bitrix/modules/main/include.php:234
#8: require_once(string)
	/var/www/vamelectro/data/www/vamelectro.ru/bitrix/modules/main/include/prolog_before.php:14
#9: require_once(string)
	/var/www/vamelectro/data/www/vamelectro.ru/bitrix/modules/main/include/prolog.php:10
#10: require_once(string)
	/var/www/vamelectro/data/www/vamelectro.ru/bitrix/header.php:1
#11: require(string)
	/var/www/vamelectro/data/www/vamelectro.ru/catalog/index.php:12
#12: include_once(string)
	/var/www/vamelectro/data/www/vamelectro.ru/bitrix/modules/main/include/urlrewrite.php:159
#13: include_once(string)
	/var/www/vamelectro/data/www/vamelectro.ru/bitrix/urlrewrite.php:2