You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jorge Bastos <my...@decimal.pt> on 2006/11/22 23:24:53 UTC

[users@httpd] Problem with SQL statment

Hi There People,

I have all setup, compiled the libaprutil with mysql support from svn yesterday, all working, but when using the auth it doesn't work, checking the mysql logs i have:

 17 Execute     [1] select password from users where username='?'

in the virtualhost i have:

AuthDBDUserPWQuery "select password from users where username='%s'"

Shouldn't the %s be replaced with the username entered in the browser?

Is this know? anyone?

Thanks in advanced,

Jorge Bastos