i'm in the mysql command line client, "mysql monitor," trying to do a mysqldump command on the database that i have an open connection with. this is the command i'm using at the mysql> prompt: mysqldump -u username -p password databasename > dumpfilename.sql\g.
where the dumpfilename.sql will presumeably be created when the dump is successful. i have tried it with and without pw, un, end line semicolon, etc... i am getting "error 1064 syntax error" over and over again... what am i doing wrong??!!