2013 Lost connection to MySQL server during query
in:
[select count(*) as count from banners_history where banners_id = '477' and date_format(banners_history_date, '%Y%m%d') = date_format(now(), '%Y%m%d')]