The syntax error is: "You have an error in your MySQL syntax; check the manual that corresponds to your MySQL version for the right syntax to use near 'mysqldump --user root --password=(mypasswordhere) database01 > sql.dump' at line 1."
I am in the bin folder to start with.
And I get the same syntax error with your second suggestion. The error appears to be related to using a reserved word. Would a username of "root" be a problem there?
|