This question already has an answer here:
- Error while taking backup with mysqldump in mysql command line 5 answers
im trying to run the following command: mysql> mysqldump --all-databases > dump.sql; on my local(On my pc) Mysql 5.5 server but I keep getting this error:
mysql> mysqldump --all-databases > dump.sql;
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 'mysql
dump --all-databases > dump.sql' at line 1.