[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost:3306]: (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(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:329
#2: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/entity/query.php:1924
#3: Bitrix\Main\Entity\Query->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/entity/query.php:505
#4: Bitrix\Main\Entity\Query->exec()
	/home/bitrix/www/bitrix/modules/main/lib/entity/datamanager.php:256
#5: Bitrix\Main\Entity\DataManager::getList(array)
	/home/bitrix/www/bitrix/modules/main/lib/entity/datamanager.php:134
#6: Bitrix\Main\Entity\DataManager::getByPrimary(array)
	/home/bitrix/www/bitrix/modules/conversion/lib/utils.php:63
#7: Bitrix\Conversion\Utils::getBaseCurrencyUnit()
	/home/bitrix/www/bitrix/modules/sale/lib/internals/conversionhandlers.php:47
#8: Bitrix\Sale\Internals\ConversionHandlers::onGetRateTypes()
	
#9: call_user_func_array(array, array)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:490
#10: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/conversion/lib/internals/typemanager.php:22
#11: Bitrix\Conversion\Internals\TypeManager::getTypesInternal()
	/home/bitrix/www/bitrix/modules/conversion/lib/config.php:71
#12: Bitrix\Conversion\Config::getModules()
	/home/bitrix/www/bitrix/modules/conversion/lib/internals/typemanager.php:70
#13: Bitrix\Conversion\Internals\TypeManager::getTypes()
	/home/bitrix/www/bitrix/modules/conversion/lib/internals/basecontext.php:102
#14: Bitrix\Conversion\Internals\BaseContext->setAttribute(string, string)
	/home/bitrix/www/bitrix/modules/conversion/lib/internals/handlers.php:94
#15: Bitrix\Conversion\Internals\Handlers::Bitrix\Conversion\Internals\{closure}(object)
	/home/bitrix/www/bitrix/modules/conversion/lib/internals/handlers.php:270
#16: Bitrix\Conversion\Internals\Handlers::onSetDayContextAttributes(object)
	
#17: call_user_func_array(array, array)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:490
#18: ExecuteModuleEventEx(array, array)
	/home/bitrix/www/bitrix/modules/conversion/lib/daycontext.php:242
#19: Bitrix\Conversion\DayContext->saveInstance()
	/home/bitrix/www/bitrix/modules/conversion/lib/daycontext.php:210
#20: Bitrix\Conversion\DayContext::getInstance()
	/home/bitrix/www/bitrix/modules/conversion/lib/internals/handlers.php:297
#21: Bitrix\Conversion\Internals\Handlers::onProlog()
	
#22: call_user_func_array(array, array)
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:490
#23: ExecuteModuleEventEx(array)
	/home/bitrix/www/bitrix/modules/main/classes/general/main.php:3552
#24: CAllMain::PrologActions()
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:16
#25: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#26: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#27: require(string)
	/home/bitrix/www/catalog/index.php:2
#28: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#29: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2