MySQL server has gone away

SELECT * FROM blog WHERE title != '' ORDER BY sortorder ASC