My application needs to connect to several sources (MySQL and Oracle).
Admin users can add sources.
They will supply credentials for these sources.
I will store the credentials, I don't want to store a password as clear text, so I want to hash it.
I then need to use these credentials to connect and do a SELECT.
How can I connect to mySQL using the password, which is hashed in my db.
Amended when I realised how silly being able to connect with with a hashed password would be!
I think what I actually need to do is just encrypt my passwords in my db, then decrypt before I connect. Any advice on how I should do this?
Mick