2

I want to export the database to CSV file and read in MatLab. I use phpMyAdmin to export to CSV file, but each field is with quotes, so that MatLab cannot correctly read it. How can I export CSV file without quotes?

update

And how to use SQL command to export?

2 Answers 2

2

Depends on what version of phpMyAdmin you're using. In 3.4.9 (the latest release as of today), You'd select Export, Custom - display all possible options radio button, Format CSV, and just erase the Columns enclosed with: field.

Sign up to request clarification or add additional context in comments.

1 Comment

@xuc: phpMyAdmin (PMA) uses a script (found in your PMA's libraries/export/ path) that builds the export; there isn't a simple SQL command to do what you want.
2

This is offtopic, but still: in PHPMyAdmin, if you use 'csv' as export, you can set the "Fields enclosed by" option to from " to nothing, right?

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.