Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 imbibing at the Monastery: (19)
As of 2015-06-30 17:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What kind of chocolate gives you the most pleasure?















    Results (796 votes), past polls