Re: mysqldump

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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" <erosenberg@xxxxxxxxxxxxxxxxxxxx>
> Subject: mysqldump
> Date: January 1, 2013 3:50:50 PM PST
> To: PHP Database List <php-db@xxxxxxxxxxxxx>
> Reply-To: erosenberg@xxxxxxxxxxxxxxxxxxxx
> 
> 
> 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
> -- 
> 
> 
> 


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux