[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost]: (2002) Connection refused (400)
/home/bitrix/www/bitrix/modules/main/lib/db/mysqliconnection.php:65
#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, integer, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/option.php:30
#5: CAllOption::GetOptionString(string, string, integer, boolean)
	/home/bitrix/www/bitrix/modules/main/classes/general/option.php:58
#6: CAllOption::GetOptionInt(string, string, integer)
	/home/bitrix/www/bitrix/modules/main/include/mainpage.php:3
#7: require(string)
	/home/bitrix/www/index.php:15