MySQL server has gone away @request_ select url,title,published,img,image_id,content,tags from `news` where published<='2017-11-22 15:40:12' and ( (concat(';',`rubric_id`,';') LIKE '%;10;%') ) UNION select url,title,published,img,image_id,content,tags from `interviews` where published<='2017-11-22 15:40:12' and ( (concat(';',`rubric_id`,';') LIKE '%;10;%') ) UNION select url,title,published,img,image_id,content,tags from `articles` where published<='2017-11-22 15:40:12' and ( (concat(';',`rubric_id`,';') LIKE '%;10;%') ) UNION select url,title,published,img,image_id,content,tags from `reviews` where published<='2017-11-22 15:40:12' and ( (concat(';',`rubric_id`,';') LIKE '%;10;%') )order by `published` desc