perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nikolay Ananiev" <>
Subject One more error with Apache::DBI
Date Sat, 17 Dec 2005 02:00:40 GMT
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', '',

print 'connected';


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/ line 250.\n

but DBD::mysql does implement AutoCommit.
go figure :)

View raw message