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 yourself marrying,
but the one you can't picture the rest of your life without."
"It takes a minute to have a crush on someone, an hour to like someone,
and a day to love someone, but it takes a lifetime to forget someone..."
Philip M. Gollucci ([EMAIL PROTECTED]) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Software Engineer - TicketMaster - http://ticketmaster.com
On Sun, 18 Dec 2005, Kevin A. McGrail wrote:
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 mySQL. Fixing the first allowed me to
compile and install the second."
Regards,
KAM
On Sat, Dec 17, 2005 at 04:00:40AM +0200, Nikolay Ananiev wrote:
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,
PrintError=>0,
RaiseError=>1
});
print 'connected';
1;
Start it in your browser and right after that stop the Mysql server
and refresh your browser again. You'll get
[Sat Dec 17 03:56:05 2005] [error] DBD driver has not implemented the
AutoCommit attribute at C:/Sites/Perl/site/lib/Apache/DBI.pm line 250.\n
but DBD::mysql does implement AutoCommit.
go figure :)