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 (105031,105034,105039,105047,105079,105094,105103,105108,105112,105128) group by c.id