2013 - Lost connection to MySQL server during query

select categories_id from categories where parent_id = '157'

[TEP STOP]

2006 - MySQL server has gone away

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

[TEP STOP]