List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:September 11 2000 9:17pm
Subject:Re: mysqldump
View as plain text  
At 10:36 AM -0400 09-11-2000, Andy Rogers wrote:
>I've been trying to use mysqldump to write the contents of my 
>database to a text file.  Using the command:
>mysqldump my_db > /var/lib/mysql/my_db_out.txt;
>I receive the error:
>ERROR 1064: parse error near 'mysqldump my_db > 
>/var/lib/mysql/my_db_out.txt' at line 1
>
>Any ideas on the problem here and how to fix it?
>
>Thanks

Looks like you're issuing that command from within mysql.

It's a shell command; run it from the command line.

-- 
Paul DuBois, paul@stripped
Thread
mysqldumpAndy Rogers11 Sep
  • Re: mysqldumpPaul DuBois11 Sep