Electrochemical treatment of real wastewater with low or high conductivity