mod_dbd causes errors on Ubuntu 10.04 LTS (Lucid Lynx)

Bug #819800 reported by Tom Browder
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libapreq2 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am actually using mod_authn_dbd which now is an Apache core module. (Note that libapache2-mod-auth-mysql is deprecated by Apache so I am not using it.)

I am trying to use a MySQL database for Digest password management on
my remote server. I have my httpd.conf file settings here:

# mod_dbd configuration
DBDriver mysql
# MySQL params:
# host, port, user, pass, dbname, sock, flags, fldsz, group, reconnect
DBDParams "dbname=passwords user=xxxx pass=xxxx host=xxx.xxx.xxx.xxx port-3306"

DBDMin 4
DBDKeep 8
DBDMax 20
DBDExptime 300

At the moment it doesn't work. After start I get these errors:

[Wed Jul 27 09:08:56 2011] [error] (20014)Internal error: DBD: Can't
connect to mysql
[Wed Jul 27 09:08:56 2011] [error] (20014)Internal error: DBD: failed
to initialise

I am able to access the database with other programs both locally and
remotely. I have posed a question on launchpad but have not received an answer.

All other similar bugs seem to involve mod_auth_mysql which is deprecated.

Revision history for this message
qk4l (reg-tem4uk) wrote :

> DBDParams "dbname=passwords user=xxxx pass=xxxx host=xxx.xxx.xxx.xxx port-3306"

It's look like you got mistake near port.
It's correct:

DBDParams "dbname=passwords user=xxxx pass=xxxx host=xxx.xxx.xxx.xxx port=3306"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers