This is a rare situation I accidentally ran across.
This is the test script:
#!perl -w
use strict;
use CGI;
use Apache::DBI;
my $q = CGI->new;
print $q->header();
my $dsn = 'dbi:mysql:test';
Apache::DBI->setPingTimeOut($dsn, 100);
my $dbh = DBI->connect($dsn, 'root', '',
{
AutoCommit=>1,
Forgot to mention
Apache-DBI-0.9901
DBI-1.50
DBD-mysql-3.0002
mod_perl/1.29_01-dev
"Nikolay Ananiev" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> This is a rare situation I accidentally ran across.
> This is the test script:
>
> #!perl -w
> use strict;
> use CGI;
> use Apache::D
I believe I had the same problem.
It was related to my upgrade of mysql without recompiling a few things:
"After much research, I believe I have the problem fixed and I found the
problem to be two-fold:
First, I had a mysql_config for v3.23.57 in the path
Second, I had not updated by DBD for
For reference it worked correctly for me on
mod_perl svn
httpd svn w/event prefork
mysql 5.0.16
perl 5.8.7 no ithreads
DBI 1.50
Apache-DBI 0.9901
DBD::mysql 3.002
FreeBSD 6.0-Release
"Love is not the one you can picture y