Re: mysqldump

Frank Flynn <[email protected]>
Newsgroups gmane.comp.php.database
Message-ID <[email protected]>
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" <[email protected]>
> Subject: mysqldump
> Date: January 1, 2013 3:50:50 PM PST
> To: PHP Database List <[email protected]>
> Reply-To: [email protected]
> 
> 
> 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
> -- 
> 
> 
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.