Just thought I would add you should take a look at the man page for mysqldump. At a shell prompt type "man mysqldump".





Michael J. Pawlowsky wrote:


Don't do it from within mysql. Do it from your shell prompt.

[EMAIL PROTECTED] directoy]$mysql -p database < database.sql

"-p" is used for prompting for a password. You only need it if you need a password. "<" means to redirect the sql file as input to the mysql command. "database" is the actual name of the database.

Mike



-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]



Reply via email to