in reply to DBI sudden exit on MySQL insert

Your example code is quite probably innocent. It's pretty clear that everybody agrees you should see an exception of some kind, instead of perl silently crashing.

My suspicion is that there's a problem in one of the binary components involved, and I'd guess DBD::mysql would be the prime suspect.

Which versions of DBI, DBD::mysql and mysqld are you running? And on which OS?

Replies are listed 'Best First'.
Re^2: DBI sudden exit on MySQL insert
by cormanaz (Deacon) on Apr 19, 2007 at 23:31 UTC
    I am running on windoze XP. When I check PPM it lists two installed versions of DBI, ver 1.54 installed in area "site" and ver 1.52-r1 installed in area "perl." I'm not too sure how this happened, unless it was during a recent upgrade to activeperl 5.8.x when I resored a snapshot of the modules from the old installation. Maybe this has something to do with it?

    DBD-mysql is ver 3.0002.