[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/ammina.smtp/include.php:121
#7: CAmminaSmtp::doCheckNotify()
	/home/bitrix/www/bitrix/modules/ammina.smtp/include.php:208
#8: include_once(string)
	/home/bitrix/www/bitrix/modules/main/lib/loader.php:143
#9: Bitrix\Main\Loader::includeModuleInternal(string)
	/home/bitrix/www/bitrix/modules/main/lib/loader.php:110
#10: Bitrix\Main\Loader::includeModule(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:261
#11: CModule::IncludeModule(string)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:444
#12: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/include.php:291
#13: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#14: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#15: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#16: require(string)
	/home/bitrix/www/catalog/index.php:2
#17: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#18: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2