Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Answer: How do I lock tables using DBI and mySQL?

( #111667=categorized answer: print w/ replies, xml ) Need Help??

Q&A > database programming > How do I lock tables using DBI and mySQL? contributed by blakem

See the Lock Tables syntax in the MySQL documentation. Then wrap each sql query inside of something like:
$dbh->do(" ... ");

Comment on Answer: How do I lock tables using DBI and mySQL?
Download Code
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2014-08-30 13:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (293 votes), past polls