2008 - MySQL client ran out of memory

select c.categories_id, cd.categories_name, c.parent_id from categories c, categories_description cd where c.parent_id = '22' and c.categories_id = cd.categories_id and cd.language_id='2' order by sort_order, cd.categories_name

[TEP STOP]

2013 - Lost connection to MySQL server during query

select 1 from sessions where sesskey = 'c72rvua6bqg8slkge3b0nr3a44'

[TEP STOP]