I have solved this problem.
I am running fedora64 on amd64.
mod_dbd with mysql simply doesn't work on my install of apache 2.2.10. I
installed 2.2.11 and it works, but there are elements that I think are
under-documented or poorly documented.
First, the DBDParams command for mysql requires that
On Sat, 27 Dec 2008 09:10:25 -0800
ernst schoen-rene erns...@gmail.com wrote:
I have solved this problem.
I am running fedora64 on amd64.
mod_dbd with mysql simply doesn't work on my install of apache
2.2.10. I installed 2.2.11 and it works, but there are elements that
I think are
I did have the mysql driver, and after many clean install attempts, I
installed apache 2.2.11 from apache 2.2.10 without re-compiling apr or
apr-util and bam, it worked. My log files showed could not connect to
mysql server error. mod_dbd only began connecting when I added a socket or
port
Oh, one other thing that should be cleared up in the documentation. The
example sql syntax for selecting the pass is this:
select password from users where user_id = %s
One would normally expect to have to put quotes around the %s as in:
select password from users where user_id = '%s'
but
I'm trying to get mod_dbd and mod_authn_dbd to work. Can someone please
post an example of the correct syntax for the DBDParam statement to use with
MySQL? The mod_dbd page says that it should be in this format:
DBDParam host=localhost,user=userid,pass=password
but the mod_authn_dbd uses this
ernst schoen-rene wrote:
I'm trying to get mod_dbd and mod_authn_dbd to work.
What happened when you tried?
Can someone please
post an example of the correct syntax for the DBDParam statement to use with
MySQL? The mod_dbd page says that it should be in this format:
You seem to have
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
but all I get in the error log is:
[Fri Dec 26
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
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