[Bitrix\Main\DB\ConnectionException] 
Mysql connect error [localhost]: (2002) No such file or directory (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/ammina.optimizer/include.php:1216
#3: CAmminaOptimizer::doCheckCDN
	/home/bitrix/www/bitrix/modules/ammina.optimizer/lib/core2/application.php:205
#4: Ammina\Optimizer\Core2\Application->__construct
	/home/bitrix/www/bitrix/modules/ammina.optimizer/lib/core2/application.php:133
#5: Ammina\Optimizer\Core2\Application::getInstance
	/home/bitrix/www/bitrix/modules/ammina.optimizer/include.php:186
#6: CAmminaOptimizer::OnPageStart
	/home/bitrix/www/bitrix/modules/main/classes/general/module.php:490
#7: ExecuteModuleEventEx
	/home/bitrix/www/bitrix/modules/main/include.php:291
#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