2013 - Lost connection to MySQL server during query

select customers_selected_template as template_selected from customers where customers_id = ''

[TEP STOP]

2006 - MySQL server has gone away

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

[TEP STOP]