I have a table that contains passwords for users. When using mysql_auth, it works fine. However, when I try the following:
select * from mytable where pwd=encrypt('correctpassword');
All I get is the empty set. Is there some trick or restriction for issuing a query using a password field? TIA.
select * from mytable where pwd=encrypt('correctpassword');
All I get is the empty set. Is there some trick or restriction for issuing a query using a password field? TIA.