[thelist] mysqldump syntax error?

Mark Groen evolt at markgroen.com
Wed May 3 16:08:21 CDT 2006


On Wed, 2006-05-03 at 11:21 -0700, Canfield, Joel wrote:
> copied directly from the help files:
> 
>     mysqldump --opt db_name > backup-file.sql
> 
> which I modified to 
> 
>     mysqldump --opt cdrdb > cdr200605.sql
> 
> and I get error 1064 'your syntax 

Are you running this as a user with the mysql> command line interface?
mysqldump is a standalone (for a shell script call, or a .bat file on
Windows) and shouldn't be running inside the MySQL CLI itself.
-- 
cheers,

        Mark




More information about the thelist mailing list