Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select based on a password

Status
Not open for further replies.

awingnut

Programmer
Feb 24, 2003
759
US
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.
 
Never mind. I found the problem. It was a config problem not a query problem. Sorry.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top