MySQL server has gone away
select id from photo_config where uid='1'