List Info

Thread: dbd and mysql in apache 2.2.6




dbd and mysql in apache 2.2.6
country flaguser name
United States
2007-11-06 16:50:20
Has anyone had any luck building mysql into apache version
2.2.6?  I am 
able to get it to compile fine but if I "ldd
httpd" there is no mysql 
library linked in and if I try and use the "DBDriver
mysql" in the 
httpd.conf file I get "DBD: No driver for mysql"
when starting it.

I have followed the INSTALL.MYSQL instructions under the
srclib/apr-util 
directory which says to download the apr_dbd_mysql.c file
from the 
http://apache.we
bthing.com/database/ website to the srclib/apr-util/dbd

directory and run the main buildconf and configure.  My
configure is 
long but should work.  I have even tried it with a very
short basic one 
to no avail.

My configure options are as follows:
--prefix=/usr --localstatedir=/var --enable-rewrite
--enable-http 
--enable-cgi --enable-so
--enable-ssl --enable-headers --bindir=/usr/bin
--sbindir=/usr/sbin 
--libexecdir=/usr/libexec --datadir=/var/www
--sysconfdir=/etc/apache --enable-dbd --with-ldap
--enable-ldap 
--enable-authnz-ldap --enable-authn-dbd
--with-mysql=/usr/lib/mysql

I think these are ok.  It compiles fine but I don't see any
mysql 
support or dbd mysql module so I am not sure what is up.  I
really need 
to get this working as soon as possible so any help would be
greatly 
appreciated.

I can supply the config log if anyone thinks that will
help.
  Thanks in advance,
	Dan

------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


Re: dbd and mysql in apache 2.2.6
country flaguser name
Germany
2007-11-07 07:13:36
Hi,

Daniel Campbell schrieb:
> Has anyone had any luck building mysql into apache
version 2.2.6?  I am 
> able to get it to compile fine but if I "ldd
httpd" there is no mysql 
> library linked in and if I try and use the
"DBDriver mysql" in the 
> httpd.conf file I get "DBD: No driver for
mysql" when starting it.
> 
> I have followed the INSTALL.MYSQL instructions under
the srclib/apr-util 
> directory which says to download the apr_dbd_mysql.c
file from the 
> http://apache.we
bthing.com/database/ website to the srclib/apr-util/dbd

> directory and run the main buildconf and configure.  My
configure is 
> long but should work.  I have even tried it with a very
short basic one 
> to no avail.

[...]

It worked for me by running buildconf from the directory
"srclib/apr-util"

.max



------------------------------------------------------------
---------
The official User-To-User support forum of the Apache HTTP
Server Project.
See <URL:http://htt
pd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribehttpd.apache.org
   "   from the digest: users-digest-unsubscribehttpd.apache.org
For additional commands, e-mail: users-helphttpd.apache.org


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )