Todd,

> i would like to know how to write batch script for dumping schema and
> data into a sql file.  This script should dump the whole database and
> data

Write this in a batch file:

    mysqldump [options] dbname >somename.sql

where <dbname> is the name of the db. See the manual for mysqldump options.

PB



---------------------------------------------------------------------
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

Reply via email to