'transactions not supported' error
- From: Michael.Muratet@xxxxxxxxxx (Michael Muratet US-Huntsville)
- Date: Fri, 21 Jul 2006 14:15:06 -0500
Greetings
I have had (& reported) this problem before and managed work arounds, but now I've got no choice but to get transactions working through DBI. The following simple script always fails:
#!/usr/bin/perl -w
use DBI;
my $user = 'root';
my $pw = '';
DBI->trace(4);
my $dbh = DBI->connect("DBI:mysql:database=test;host=127.0.0.1", $user, $pw, { AutoCommit => 0, RaiseError => 0 });
die DBI::errstr unless $dbh;
$dbh->disconnect;
I am using perl 5.8.5 and mysql 5.0.21 on a Dell PE 6850 with qual dual-core Xeons and Red Hat Enterprise v4. I cleaned and rebuilt DBI per the instructions and cleaned and rebuild DBD-mysql per the instructions. I've checked the logs for mysqld and innodb is starting normally. I can create tables, start transactions, commit, rollback, etc etc from the command line.
I've tried to include the logs per the README, but they won't pass the 50K input size limit on the list. I can send them separately if anyone is interested in taking this up.
Any help will be gratefully appreciated.
Thanks
Mike
- Follow-Ups:
- Re: 'transactions not supported' error
- From: Martin J. Evans
- Re: 'transactions not supported' error
- From: Tyler MacDonald
- Re: 'transactions not supported' error
- Prev by Date: RE: (Fwd) dbd-oracle-1.16
- Next by Date: Re: 'transactions not supported' error
- Previous by thread: Re: make error: 127 for DBI module on AIX 5.2 (DBD::Informix)
- Next by thread: Re: 'transactions not supported' error
- Index(es):
Relevant Pages
|