correction, sorry...
we have used only rosin based flux in cored solder, eg Kester 44.
Solder pot and liquid flux, can be water based or not rosin.
For electronics soldering or rework, all flux must be specifically designed for electronics use, not metalworking or plumbing!
Jon