Export some fields of a table
I'm looking of a way to make a selective export from the users of my vbulletin database.
In the cron of my server (have ssh access) I want to start a export script that gives me a CSV file with the information of the vbulletin DB / user table and then only the fields usersid / username / password / email for all the records.
For or backup I use MySQLdump, but then I get the full database, and in this case I want only a small selection fields of it.
Any idea how to do this?
Thanks,
peter
|