[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/db/mysqliconnection.php:122
#1: Bitrix\Main\DB\MysqliConnection->queryInternal
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#2: Bitrix\Main\DB\Connection->query
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:3398
#3: Bitrix\Main\ORM\Query\Query->query
	/home/bitrix/www/bitrix/modules/main/lib/orm/query/query.php:825
#4: Bitrix\Main\ORM\Query\Query->exec
	/home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php:500
#5: Bitrix\Main\ORM\Data\DataManager::getList
	/home/bitrix/www/local/php_interface/s1/init.php:20
#6: getProductsCount
	/home/bitrix/www/local/php_interface/s1/init.php:4
#7: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include.php:249
#8: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#9: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#10: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#11: require(string)
	/home/bitrix/www/catalog/index.php:2
#12: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#13: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2