A Database Error Occurred

Error Number: 2013

Lost connection to MySQL server during query

select c.*, count(distinct c3.id) answers_qty, u.login u_login, u.name u_name, u.alias u_alias, u.ccode u_ccode, 1 is_rated, sum(ifnull(cv.weight,0)) rating from base_cmnt c left join base_user u on u.id=c.user_id left join base_cmnt c3 on c3.parent_id=c.id left join base_cmnt_vote cv on cv.cmnt_id=c.id where c.root_cmnt_id in (136026,136027,136028,136030,136032,136034,136041,136055,136060,136063,136064,136120,136123,136149,136150,136152,136174,136199,136208,136258,136268,136276,136293,136295,136354,136368,136371,136383,136395,136402,136412,136446,136461,136598,136631,136680,136743,136750,137056,137422,137711,137727,137763,138170,138449,138667) group by c.id