Failed to execute the SQL query
select UNIX_TIMESTAMP( ifnull(i.pubdate, i.added)) as ts_, year( ifnull(i.pubdate, i.added)) as y_, month( ifnull(i.pubdate, i.added)) as m_, dayofmonth( ifnull(i.pubdate, i.added)) as d_, count(*) as cnt_ from ny_item i where UNIX_TIMESTAMP(ifnull(i.pubdate, i.added)) < 1257310799 and cid=31 and not(i.unread & 4) group by y_,m_,d_ order by ts_ desc limit 4
Error 2013: Lost connection to MySQL server during query