[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(string, array, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/db/connection.php:330
#2: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/bitrix/modules/main/lib/eventmanager.php:242
#3: Bitrix\Main\EventManager->loadEventHandlers()
	/home/bitrix/www/bitrix/modules/main/lib/eventmanager.php:340
#4: Bitrix\Main\EventManager->findEventHandlers(string, string, NULL)
	/home/bitrix/www/bitrix/modules/main/lib/eventmanager.php:375
#5: Bitrix\Main\EventManager->send(object)
	/home/bitrix/www/bitrix/modules/main/lib/event.php:142
#6: Bitrix\Main\Event->send()
	/home/bitrix/www/bitrix/modules/main/classes/general/usertype.php:1261
#7: CUserTypeManager->getEntityList()
	/home/bitrix/www/bitrix/modules/main/lib/orm/entity.php:295
#8: Bitrix\Main\ORM\Entity->postInitialize()
	/home/bitrix/www/bitrix/modules/main/lib/orm/entity.php:118
#9: Bitrix\Main\ORM\Entity::getInstanceDirect(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/entity.php:101
#10: Bitrix\Main\ORM\Entity::getInstance(string)
	/home/bitrix/www/bitrix/modules/main/lib/orm/data/datamanager.php:82
#11: Bitrix\Main\ORM\Data\DataManager::getEntity()
	/home/bitrix/www/bitrix/modules/security/lib/session.php:110
#12: Bitrix\Security\SessionTable::lock(string, integer)
	/home/bitrix/www/bitrix/modules/security/classes/general/session_db.php:52
#13: CSecuritySessionDB::read(string)
	
#14: session_start()
	/home/bitrix/www/bitrix/modules/main/include.php:281
#15: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog_before.php:14
#16: require_once(string)
	/home/bitrix/www/bitrix/modules/main/include/prolog.php:10
#17: require_once(string)
	/home/bitrix/www/bitrix/header.php:1
#18: require(string)
	/home/bitrix/www/catalog/index.php:7
#19: include_once(string)
	/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#20: include_once(string)
	/home/bitrix/www/bitrix/urlrewrite.php:2