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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MySQL auth password mismatch help

Status
Not open for further replies.

awingnut

Programmer
Joined
Feb 24, 2003
Messages
759
Location
US
I've set up a directory requiring authentication. When I use 'mysql' and select with pwd=password('whatever'), it finds the correct row. When I use that same password from my browser authentication, it fails and I get a password mismatch error in the error_log file.

Can someone suggest where I might look to shoot this bug? TIA.
 
Never mind. Apparently something has changed in Apache 2. IIRC, the passwords used the 'password()' function in Apache 1. Out of desperation I tried 'encrypt()' and that works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top