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 = '5771ddda40f9d315e1223fcde39e38ad'

[TEP STOP]