SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_varchar` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_varchar` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 2 WHERE (e.entity_id IN (137909)) AND (t_d.attribute_id IN (73, 88, 89, 109, 110, 111, 121, 124, 135, 153, 171, 176, 185, 186, 187, 188, 190, 191, 192, 193, 194, 197, 199, 200, 202, 203, 204, 205, 206, 207, 208, 209, 244, 245, 246, 247, 315, 316, 317, 337, 338, 339, 355, 375, 376, 377, 378, 379, 385, 386, 388, 399, 440, 441, 442, 443, 444, 445, 446, 447, 448, 449, 450, 451, 455, 460, 471, 472, 473, 474, 475, 477, 481, 482, 483, 484, 485, 486, 491, 492, 496, 497, 499, 502, 503, 504, 505, 506, 507, 508, 509, 510, 511, 512, 513, 514, 515, 516, 517, 518, 519, 520, 521, 522, 523, 524, 525, 526, 527, 528, 529, 530, 531, 532, 533, 534, 535, 536, 537, 538, 539, 540, 541, 542, 543, 544, 545, 546, 547, 548, 549, 550, 551, 552, 553, 554, 555, 556, 557, 558, 559, 560, 561, 562, 563, 564, 565, 566, 567, 568, 569, 570, 571, 572, 573, 574, 575, 576, 577, 578, 579, 580, 581, 582, 583, 584, 587, 589, 590, 591, 592, 593, 594, 595, 596, 597, 598, 603, 607, 608, 609, 613, 614, 615, 616, 617, 618, 619, 620, 621, 622, 623, 624, 625, 626, 628, 629, 630, 631, 632, 633, 635, 636, 637, 638, 639, 640, 641, 642, 643, 644, 645, 646, 647, 648, 649, 650, 651, 652, 653, 654, 655, 656, 657, 658, 659, 660, 661, 662, 663, 664, 665, 666, 667, 668, 669, 671, 672, 673, 674, 675)) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_text` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_text` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 2 WHERE (e.entity_id IN (137909)) AND (t_d.attribute_id IN (76, 138, 189, 419, 422, 423, 424, 685)) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_decimal` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_decimal` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 2 WHERE (e.entity_id IN (137909)) AND (t_d.attribute_id IN (78, 123, 490)) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_datetime` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_datetime` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 2 WHERE (e.entity_id IN (137909)) AND (t_d.attribute_id IN (79, 80, 94, 95)) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_product_entity_int` AS `t_d` INNER JOIN `catalog_product_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_product_entity_int` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 2 WHERE (e.entity_id IN (137909)) AND (t_d.attribute_id IN (83, 97, 125, 128, 129, 131, 132, 133, 136, 137, 141, 147, 163, 164, 167, 241, 327, 328, 329, 330, 331, 336, 356, 359, 368, 371, 372, 374, 380, 695, 696, 697)) AND (t_d.store_id = IFNULL(t_s.store_id, 0))PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/ploi/staging.lumenco.ca/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/ploi/staging.lumenco.ca/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct() #1 /home/ploi/staging.lumenco.ca/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/ploi/staging.lumenco.ca/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(485): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/ploi/staging.lumenco.ca/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(663): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/ploi/staging.lumenco.ca/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(614): Magento\Framework\DB\Adapter\Pdo\Mysql->performQuery() #5 /home/ploi/staging.lumenco.ca/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(703): Magento\Framework\DB\Adapter\Pdo\Mysql->_query() #6 /home/ploi/staging.lumenco.ca/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(95): Magento\Framework\DB\Adapter\Pdo\Mysql->query() #7 /home/ploi/staging.lumenco.ca/vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php(756): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query() #8 /home/ploi/staging.lumenco.ca/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1103): Zend_Db_Adapter_Abstract->fetchRow() #9 /home/ploi/staging.lumenco.ca/vendor/magento/framework/EntityManager/Db/ReadRow.php(61): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->fetchRow() #10 /home/ploi/staging.lumenco.ca/vendor/magento/framework/EntityManager/Operation/Read/ReadMain.php(63): Magento\Framework\EntityManager\Db\ReadRow->execute() #11 /home/ploi/staging.lumenco.ca/vendor/magento/framework/EntityManager/Operation/Read.php(108): Magento\Framework\EntityManager\Operation\Read\ReadMain->execute() #12 /home/ploi/staging.lumenco.ca/vendor/magento/framework/EntityManager/EntityManager.php(80): Magento\Framework\EntityManager\Operation\Read->execute() #13 /home/ploi/staging.lumenco.ca/vendor/mirasvit/module-search-ultimate/src/SearchReport/Repository/LogRepository.php(48): Magento\Framework\EntityManager\EntityManager->load() #14 /home/ploi/staging.lumenco.ca/vendor/mirasvit/module-search-ultimate/src/SearchReport/Service/LogService.php(78): Mirasvit\SearchReport\Repository\LogRepository->get() #15 /home/ploi/staging.lumenco.ca/vendor/mirasvit/module-search-ultimate/src/SearchReport/Plugin/ResponsePlugin.php(90): Mirasvit\SearchReport\Service\LogService->logClick() #16 /home/ploi/staging.lumenco.ca/vendor/magento/framework/Interception/Interceptor.php(121): Mirasvit\SearchReport\Plugin\ResponsePlugin->beforeSendResponse() #17 /home/ploi/staging.lumenco.ca/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #18 /home/ploi/staging.lumenco.ca/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(86): Magento\Framework\App\Response\Http\Interceptor->___callPlugins() #19 /home/ploi/staging.lumenco.ca/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #20 /home/ploi/staging.lumenco.ca/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode() #21 /home/ploi/staging.lumenco.ca/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle() #22 /home/ploi/staging.lumenco.ca/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException() #23 /home/ploi/staging.lumenco.ca/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent() #24 /home/ploi/staging.lumenco.ca/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() #25 /home/ploi/staging.lumenco.ca/generated/code/Magento/Framework/App/Http/Interceptor.php(32): Magento\Framework\App\Http\Interceptor->___callPlugins() #26 /home/ploi/staging.lumenco.ca/vendor/magento/framework/App/Bootstrap.php(270): Magento\Framework\App\Http\Interceptor->catchException() #27 /home/ploi/staging.lumenco.ca/pub/index.php(30): Magento\Framework\App\Bootstrap->run() #28 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused in /home/ploi/staging.lumenco.ca/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Abstract.php:148 Stack trace: #0 /home/ploi/staging.lumenco.ca/vendor/magento/zend-db/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/ploi/staging.lumenco.ca/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(485): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/ploi/staging.lumenco.ca/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(663): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/ploi/staging.lumenco.ca/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(614): Magento\Framework\DB\Adapter\Pdo\Mysql->performQuery() #4 /home/ploi/staging.lumenco.ca/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(703): Magento\Framework\DB\Adapter\Pdo\Mysql->_query() #5 /home/ploi/staging.lumenco.ca/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(95): Magento\Framework\DB\Adapter\Pdo\Mysql->query() #6 /home/ploi/staging.lumenco.ca/vendor/magento/zend-db/library/Zend/Db/Adapter/Abstract.php(756): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query() #7 /home/ploi/staging.lumenco.ca/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1103): Zend_Db_Adapter_Abstract->fetchRow() #8 /home/ploi/staging.lumenco.ca/vendor/magento/framework/EntityManager/Db/ReadRow.php(61): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->fetchRow() #9 /home/ploi/staging.lumenco.ca/vendor/magento/framework/EntityManager/Operation/Read/ReadMain.php(63): Magento\Framework\EntityManager\Db\ReadRow->execute() #10 /home/ploi/staging.lumenco.ca/vendor/magento/framework/EntityManager/Operation/Read.php(108): Magento\Framework\EntityManager\Operation\Read\ReadMain->execute() #11 /home/ploi/staging.lumenco.ca/vendor/magento/framework/EntityManager/EntityManager.php(80): Magento\Framework\EntityManager\Operation\Read->execute() #12 /home/ploi/staging.lumenco.ca/vendor/mirasvit/module-search-ultimate/src/SearchReport/Repository/LogRepository.php(48): Magento\Framework\EntityManager\EntityManager->load() #13 /home/ploi/staging.lumenco.ca/vendor/mirasvit/module-search-ultimate/src/SearchReport/Service/LogService.php(78): Mirasvit\SearchReport\Repository\LogRepository->get() #14 /home/ploi/staging.lumenco.ca/vendor/mirasvit/module-search-ultimate/src/SearchReport/Plugin/ResponsePlugin.php(90): Mirasvit\SearchReport\Service\LogService->logClick() #15 /home/ploi/staging.lumenco.ca/vendor/magento/framework/Interception/Interceptor.php(121): Mirasvit\SearchReport\Plugin\ResponsePlugin->beforeSendResponse() #16 /home/ploi/staging.lumenco.ca/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #17 /home/ploi/staging.lumenco.ca/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(86): Magento\Framework\App\Response\Http\Interceptor->___callPlugins() #18 /home/ploi/staging.lumenco.ca/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #19 /home/ploi/staging.lumenco.ca/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode() #20 /home/ploi/staging.lumenco.ca/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle() #21 /home/ploi/staging.lumenco.ca/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException() #22 /home/ploi/staging.lumenco.ca/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent() #23 /home/ploi/staging.lumenco.ca/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() #24 /home/ploi/staging.lumenco.ca/generated/code/Magento/Framework/App/Http/Interceptor.php(32): Magento\Framework\App\Http\Interceptor->___callPlugins() #25 /home/ploi/staging.lumenco.ca/vendor/magento/framework/App/Bootstrap.php(270): Magento\Framework\App\Http\Interceptor->catchException() #26 /home/ploi/staging.lumenco.ca/pub/index.php(30): Magento\Framework\App\Bootstrap->run() #27 {main}