Is it a pregnancy symptom ??

I got a uti & the discharge I had 3-4 days ago was clear / cloudy super sticky and kind of long.. I don't really drink a lot of water so I'm debating , i know some people have a uti through out their whole pregnancy . So is it a pregnancy symptom or did I simply get it because I don't drink water ?????