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