Solved

mysqldump will lock the database table?

Posted on 2004-09-12
1
756 Views
Last Modified: 2008-02-01
mysqldump -u user_name -p password mydatabase > dbbackup.sql

Will the above script lock the database?
If yes, how can i backup the database without lock it? This is because maybe some of the user is running insert or update statement while i doing backup database.

thanks
0
Comment
Question by:hawkly
1 Comment
 
LVL 26

Accepted Solution

by:
ushastry earned 50 total points
ID: 12041641
Hi,

try this..

mysqldump --opt -Q  --skip-lock-tables -u user_name -p password mydatabase > dbbackup.sql
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Foreword In the years since this article was written, numerous hacking attacks have targeted password-protected web sites.  The storage of client passwords has become a subject of much discussion, some of it useful and some of it misguided.  Of cou…
I have been using r1soft Continuous Data Protection (http://www.r1soft.com/linux-cdp/) for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now