SELECT * FROM package_type MySQL server has gone away