MySQL Forums
Forum List  »  Newbie

mysqldump not working linux mysql 8 ubuntu
Posted by: Jim McNamara
Date: July 23, 2022 04:13PM

Hi all-

I am trying to test out mysql dump. From mysql> use testdb;

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqldump --databases testdb > animals.sql' at line 1


It is returning this error msg above.

Sorry to bother you but I am wondering why that won't work and generates that msg.
THANKS megatron

Options: ReplyQuote


Subject
Written By
Posted
mysqldump not working linux mysql 8 ubuntu
July 23, 2022 04:13PM


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.