2013 - Lost connection to MySQL server during query

select languages_id, name, code, image, directory from languages order by sort_order

[TEP STOP]

2006 - MySQL server has gone away

select count(*) as total from sessions where sesskey = 'b5927fd67f873e39beba20f55e433378'

[TEP STOP]