Skip to content

Instantly share code, notes, and snippets.

@mshuler
Created October 5, 2010 20:36
Show Gist options
  • Save mshuler/612283 to your computer and use it in GitHub Desktop.
Save mshuler/612283 to your computer and use it in GitHub Desktop.
export wordpress commenter info
SELECT comment_author, comment_author_email, comment_content, comment_parent
INTO OUTFILE '/tmp/comment_export.csv'
FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
LINES TERMINATED BY '\n'
FROM wp_comments;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment