MySQL server has gone away

select * from new_config where var = 'social'