1
votes

mysqldump -u roman -p car > car_backup.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 'mysqldump -u roman -p car > car_backup.sql' at line 1 where error ?

1
(: what a joy to see such quality questions )))) - num8er
Does this answer your question? MySQL dump inside mysql console - num8er

1 Answers

1
votes

mysqldump is a CLI application. You don't type it into an SQL query, you type it at the command line.