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