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