2013 - Lost connection to MySQL server during query

select categories_id from categories where parent_id = '51'

[TEP STOP]

2006 - MySQL server has gone away

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

[TEP STOP]