I need to export a table from phpmyadmin to a comma delimited text file. I think there is a code but can\'t seem to find it. I found one but it doesnt work.
SELECT * FROM `table_name`
INTO OUTFILE 'directory' ->e.g /tmp/myTable.csv(Linux) or C:\myTable.csv(Windows)
FIELDS TERMINATED BY ','
ENCLOSED BY '"'
LINES TERMINATED BY '\n'