I'm trying to get a hold of MySQL and am trying to dump the schema. This is the command I'm using:
mysql> mysqldump -user root -password=rootpass flatland > flatland.dump;
And this is the error I'm getting:
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 -user root -password=rootpass flatland > flatland.dump' at line 1
Any suggestions? I'm running the latest version of MySQL.