Server has gone away

select * from languages where active = 1 order by isdefault desc