Lost connection to MySQL server during query

in query:
SELECT count(*) FROM SKH_products
		WHERE categoryID='158'