mysqldump is a separate program (it runs outside of the mysql shell).  I 
noticed you have  ; at the end and perhaps you are trying to run it inside 
MySQL client.

The ; by itself is not a problem for the OS shell (bash or whatever) but you 
don't need it unless you are running multiple commands on the same line.  Other 
than that it looks correct - what is the error?

Frank

> From: "Ethan Rosenberg, PhD" <erosenb...@hygeiabiomedical.com>
> Subject: mysqldump
> Date: January 1, 2013 3:50:50 PM PST
> To: PHP Database List <php-db@lists.php.net>
> Reply-To: erosenb...@hygeiabiomedical.com
> 
> 
> Dear List -
> 
> I am using the following command:
> 
> mysqldump -u root -p Store > StoreBkup.sql;
> 
> to backup the database called Store.
> 
> Mysql insists on giving a syntax error.
> 
> Advice and help, please.
> 
> Thanks.
> 
> Ethan
> -- 
> 
> 
> 

Reply via email to