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