[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost]: (2002) Connection refused (400)
/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:82
#0: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/home/bitrix/www/bitrix/modules/main/lib/data/connection.php:53
#1: Bitrix\Main\Data\Connection->getResource()
	/home/bitrix/www/bitrix/modules/main/lib/db/mysqlisqlhelper.php:21
#2: Bitrix\Main\DB\MysqliSqlHelper->forSql(string)
	/home/bitrix/www/bitrix/modules/main/lib/config/option.php:193
#3: Bitrix\Main\Config\Option::load(string)
	/home/bitrix/www/bitrix/modules/main/lib/config/option.php:38
#4: Bitrix\Main\Config\Option::get(string, string, string, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/option.php:25
#5: CAllOption::GetOptionString(string, string, string, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/option.php:53
#6: CAllOption::GetOptionInt(string, string)
	/home/bitrix/www/bitrix/modules/security/classes/general/antivirus.php:115
#7: CSecurityAntiVirus::OnPageStart()
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:480
#8: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/include.php:175
#9: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#10: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#11: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#12: require(string)
	/home/bitrix/www/collections/index.php:2
#13: include_once(string)
	/home/bitrix/www/local/php_interface/urlrewrite.php:160
#14: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite_custom.php:2