You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/08/30 03:23:06 UTC
DO NOT REPLY [Bug 40352] New: - mod_dbd with apr_dbd_mysql fails to connect
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40352>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40352
Summary: mod_dbd with apr_dbd_mysql fails to connect
Product: Apache httpd-2
Version: 2.3-HEAD
Platform: All
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: Other Modules
AssignedTo: bugs@httpd.apache.org
ReportedBy: jgg@dolby.com
Tested on Solaris 10/Sun Studio 11/AMD-64 and Slackware 10.2/gcc/Pentium 4 with
MySQL 5.0.24 / Apache 2.2.3 / PHP 5.1.6 / apr_dbd_mysql.c
After patching apu.h (apache configure fails to find mysql_init() in
libmysqlclient_r, another bug), the makefile in apr-utils, building apache and
php, creating user and database in mysql, adding the DBDriver and DBParams in
httpd.conf, starting apache generates the following messages in error_log
##############
[Tue Aug 29 17:46:11 2006] [info] Server: Apache/2.2.3, Interface:
mod_ssl/2.2.3, Library: OpenSSL/0.9.8a
[Tue Aug 29 17:46:11 2006] [crit] (20014)Internal error: DBD: Can't connect to
mysql
[Tue Aug 29 17:46:11 2006] [crit] (20014)Internal error: DBD: failed to
initialise
[Tue Aug 29 17:46:11 2006] [notice] Apache/2.2.3 (Unix) mod_ssl/2.2.3
OpenSSL/0.9.8a DAV/2 PHP/5.1.6 configured -- resuming normal operations
[Tue Aug 29 17:46:11 2006] [info] Server built: Aug 29 2006 17:31:16
[Tue Aug 29 17:46:11 2006] [debug] worker.c(1740): AcceptMutex: sysvsem
(default: sysvsem)
[Tue Aug 29 17:46:11 2006] [crit] (20014)Internal error: DBD: Can't connect to
mysql
[Tue Aug 29 17:46:11 2006] [crit] (20014)Internal error: DBD: failed to
initialise
[Tue Aug 29 17:46:11 2006] [crit] (20014)Internal error: DBD: Can't connect to
mysql
[Tue Aug 29 17:46:11 2006] [crit] (20014)Internal error: DBD: failed to
initialise
####################
I'd be happy to email build scripts/patches/more specific messages/test
results. Just email me.
Googleing this problem, it seems I'm not the first to have problems with this
module. Just getting it built seems to also trip up a bunch of MacOS X people.
Looking through the code, there doesn't seem to be any more verbosity available
at this level.
I've checked the database, no problems connecting by hand. Nothing in the mysql
logs about failed attempts.
I've sent an email to the apr_dbd_mysql.c folks as well, hopefully someone can
help figure this out.
Thanks.
John G.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 40352] - mod_dbd with apr_dbd_mysql fails to connect
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40352>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40352
jorton@redhat.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|Other Modules |mod_dbd
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 40352] - mod_dbd with apr_dbd_mysql fails to connect
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40352>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40352
nick@webthing.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution| |FIXED
------- Additional Comments From nick@webthing.com 2007-09-07 17:49 -------
No response from OP. Should be fixed in 2.2.6 anyway.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 40352] - mod_dbd with apr_dbd_mysql fails to connect
Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=40352>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=40352
nick@webthing.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
------- Additional Comments From nick@webthing.com 2006-12-11 07:34 -------
What DBDParams are you using? What happens if you use the same connection
string from AN Other client, from the same system user Apache runs as? What
appears in the MySQL log?
I think I ignored this at first because I was waiting for the email you claimed
to have sent.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org