MySQL Forums
Forum List  »  Newbie

Re: to run mysql command in sql editor like toad or sql yog
Posted by: Phillip Ward
Date: April 14, 2011 06:16AM

Quote

I am using the command following way in query editor but it is showing error

mysqldump -u root -p password department dept > dept.sql;
And that's because mysqldump is not an SQL statement, but an external program (just like the mysql command-line interface).
Run it from your shell or command prompt.

Regards,
Phill W.

Options: ReplyQuote


Subject
Written By
Posted
Re: to run mysql command in sql editor like toad or sql yog
April 14, 2011 06:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.