Kathy,
Friday, March 22, 2002, 9:26:54 PM, you wrote:
KR> I am still a new to mysql. What is the syntax for backing up a table and how
KR> do I make it no-lock while doing so. I need the tables to still be able to
KR> be written to. I know that this will make my backup a little unaccurate but
KR> that doesnt really matter...
To make backup without locking is not a right way. If you want you can
lock tables to allow non-conflicting INSERT statements. You can read
more about LOCK TABLES and FLUSH statements at:
http://www.mysql.com/doc/L/O/LOCK_TABLES.html
http://www.mysql.com/doc/F/L/FLUSH.html
mysqldump is the solution for you. If you check the following link
you can find the description of mysqldump syntax, mysqldump options
and so on:
http://www.mysql.com/doc/m/y/mysqldump.html
I suggest you to also read section 4.4.1.Database Backup in the manual:
http://www.mysql.com/doc/B/a/Backup.html
KR> Kathy Reyes
--
For technical support contracts, goto https://order.mysql.com/
This email is sponsored by Ensita.net http://www.ensita.net/
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Victoria Reznichenko
/ /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED]
/_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.net
<___/ www.mysql.com
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php