MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `iloveclove_ecs`.`orangebox_brand`AS b, `iloveclove_ecs`.`orangebox_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id HAVING goods_num > 0 ORDER BY CONVERT( brand_name USING gbk ) COLLATE gbk_chinese_ci ASC, b.sort_order ASC ) [2] => Array ( [error] => Query execution was interrupted ) [3] => Array ( [errno] => 1317 ) ) MySQL server error report:Array ( [0] => Array ( [message] => MySQL Query Error ) [1] => Array ( [sql] => SELECT b.brand_id, b.brand_name, b.brand_logo, b.brand_desc, COUNT(*) AS goods_num, IF(b.brand_logo > '', '1', '0') AS tag FROM `iloveclove_ecs`.`orangebox_brand`AS b, `iloveclove_ecs`.`orangebox_goods` AS g WHERE g.brand_id = b.brand_id AND is_show = 1 AND g.is_on_sale = 1 AND g.is_alone_sale = 1 AND g.is_delete = 0 GROUP BY b.brand_id HAVING goods_num > 0 ORDER BY CONVERT( brand_name USING gbk ) COLLATE gbk_chinese_ci ASC, b.sort_order ASC ) [2] => Array ( [error] => Query execution was interrupted ) [3] => Array ( [errno] => 1317 ) [4] => Array ( [message] => MySQL Query Error ) [5] => Array ( [sql] => UPDATE `iloveclove_ecs`.`orangebox_sessions` SET expiry = '1519589281', ip = '50.19.34.255', userid = '0', adminid = '0', user_name='0', user_rank='0', discount='1', email='0', data = 'a:4:{s:7:\"from_ad\";i:0;s:7:\"referer\";s:6:\"本站\";s:10:\"login_fail\";i:0;s:8:\"currency\";s:3:\"HKD\";}' WHERE sesskey = '0d4daa7ffe54514f708daf3c497762eb' LIMIT 1 ) [6] => Array ( [error] => MySQL server has gone away ) [7] => Array ( [errno] => 2006 ) )