I'm trying to export a query from a mysql command , but I keep getting the error
ERROR 1045 (28000): Access denied for user '_mamdoh'@'localhost' (using password: YES)
Do I need to back out of the database and run from the line below?
This is what I'm using.
SELECT * INTO OUTFILE "C:\Documents and Settings\ckwill\My Document\newfile.csv"
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY "\n"