2006 : MySQL server has gone away SELECT distinct address_area, address_area_lat FROM perm_komnaty_arenda where address_area <> '' Error in sql