2006 : MySQL server has gone away SELECT distinct street, street_lat FROM arhangelsk_kvartiry_prodaja WHERE street <> '' Error in sql