Hello,
Following an upgrade to 2.2.6 from 2.0 I find myself that I can no
longer authenticate against MySQL database.

Following some docs and forums, I have done this so far in my conf file:

#########

....

#Database Management

#Use the MySQL driver
DBDriver mysql
#
##Connection string: database name and login credentials
DBDParams "dbname=authdbm [EMAIL PROTECTED] password=xxx"
#
##Parameters for Connection Pool Management
DBDMin  1
DBDKeep 2
DBDMax  10
DBDExptime 60
#
#Authentication Section
<Directory /var/www/www.domain.com/cgi-bin/>
#
     #mod_auth configuration for authn_dbd
     AuthType Basic
     AuthName "My Server"
     AuthBasicProvider dbd

     #authz configuration
     Require valid-user

     #SQL query to verify a user
     #(note: DBD drivers recognise both stdio-like %s and native syntax)
     AuthDBDUserPWQuery "select password from users where username = %s"
</Directory>

#########

Then when I load the protected page I get an error when I try to restart
the server.

DBD: No driver for mysql

I have emerged mod_auth_mysql-3.0.0-r2 on gentoo


What am I doing wrong?

Cheers

Norman

--
Norman Khine


%>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] )


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to