[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [127.0.0.1:3310]: (2002) Connection refused (400)
/var/www/ampm.kz/bitrix/modules/main/lib/db/mysqliconnection.php:65
#0: Bitrix\Main\DB\MysqliConnection->connectInternal()
	/var/www/ampm.kz/bitrix/modules/main/lib/db/mysqliconnection.php:122
#1: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/var/www/ampm.kz/bitrix/modules/main/lib/db/connection.php:330
#2: Bitrix\Main\DB\Connection->query(string)
	/var/www/ampm.kz/bitrix/modules/main/lib/config/option.php:226
#3: Bitrix\Main\Config\Option::load(string, NULL)
	/var/www/ampm.kz/bitrix/modules/main/lib/config/option.php:53
#4: Bitrix\Main\Config\Option::get(string, string, string)
	/var/www/ampm.kz/bitrix/modules/main/lib/httprequest.php:370
#5: Bitrix\Main\HttpRequest->prepareCookie(array)
	/var/www/ampm.kz/bitrix/modules/main/lib/httprequest.php:68
#6: Bitrix\Main\HttpRequest->__construct(object, array, array, array, array)
	/var/www/ampm.kz/bitrix/modules/main/lib/httpapplication.php:46
#7: Bitrix\Main\HttpApplication->initializeContext(array)
	/var/www/ampm.kz/bitrix/modules/main/lib/application.php:122
#8: Bitrix\Main\Application->initializeExtendedKernel(array)
	/var/www/ampm.kz/bitrix/modules/main/include.php:23
#9: require_once(string)
	/var/www/ampm.kz/bitrix/modules/main/include/prolog_before.php:14
#10: require(string)
	/var/www/ampm.kz/local/templates/ampm/components/bitrix/catalog/custom/bitrix/catalog.element/.default/panorama.php:3