httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ernst schoen-rene" <erns...@gmail.com>
Subject Re: [users@httpd] dbd syntax
Date Sat, 27 Dec 2008 01:06:45 GMT
I don't want a dbname param, because different servers ask different
databases for passwords.  However, it doesn't make a difference if I do add
a dbname param.
  Also, I really only have limited skill in C and compiling and running the
entire apache server under a debugger seems daunting. It seems that the
error_log and mysql log should give me enough information to correct
whatever configuration error I have and then I could go from there, but it
doesn't. I also am running sites on this machine.  I had to move machines
and just assumed that mod_auth_mysql would work with the current version of
apache.
   I wish the system returned more information.  I'm working on setting it
up to use apr_dbd_open_ex instead of apr_dbd_open to see if I can get any
error information there, but this is way more than I'm really capable of.

On Fri, Dec 26, 2008 at 4:53 PM, Nick Kew <nick@webthing.com> wrote:

> ernst schoen-rene wrote:
>
>> Ah, thanks.  That's good to know.  I still cannot get this damn thing to
>> connect to the database, and I've been sticking bits of debug code in
>> mod_dbd and apr-util to no avail.
>> I use this:
>> DPDParams "host=localhost user=someuser pass=somepass"
>>
>
> Don't you want to add a dbname parameter there?
>
> Apart from that, you might need to try running with -X
> under a debugger (gdb/dbx/whatever) or under dtrace/strace.
> Consult your local hack if necessary.
>
>
> --
> Nick Kew
>
> ---------------------------------------------------------------------
> 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: users-unsubscribe@httpd.apache.org
>  "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Mime
View raw message