Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: load data to MySQL database using Perl

by xieyulong (Initiate)
on Oct 02, 2009 at 14:31 UTC ( #798864=note: print w/replies, xml ) Need Help??


in reply to Re: load data to MySQL database using Perl
in thread load data to MySQL database using Perl

Yes. Thanks a lot. When I set autocommit from "off" to "on", it worked as expected.

I checked perldoc DBI about the setting of autocommit when establishing a connection, but did not understand well. In practice in which situation the autocommit should be set to "off" and then call commit to make the transaction take effect.

Thanks again.

  • Comment on Re^2: load data to MySQL database using Perl

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://798864]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2021-11-28 01:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?