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