-1

Possible Duplicate:
mysql dump to localhost outfile from a remote database

I have a mysql table with email as a field. I want to get all those email to a CSV file so that i can use the emails for newsletter purpose.

I tried the export option in MySQL but i couldn't figure out how to select just one field from the whole table.

Can anyone help me how to do this? I guess it's a simple trick but i guess i am too beginner for this as well!

Community
  • 1
  • 1
user1460822
  • 573
  • 1
  • 4
  • 7

1 Answers1

0

If you are accessing the MySQL database locally, then Besnik's link to the other thread will work.

Remotely however is a different story and you will want to do something like this...

mysql dump to localhost outfile from a remote database

Community
  • 1
  • 1
Peter M. Elias
  • 1,204
  • 10
  • 22