0

So, I've got a MySQL database consisting of a bunch of tables that I want to give to my uncle.

Problem is, he doesn't know much about computers, so I can't just hook him up with the database.

Instead, I would like to extract all the data from the database into a more readable format, e.g. Excel spreadsheets.

I've tried mysqldump, but that just gives me a *.sql file which doesn't help much.

Any ideas?

phaz
  • 872
  • 9
  • 23

2 Answers2

2

If you only have command line, this answer explains how to dump into a tab delimited and this answer how to dump into a comma delimited file. You can then import the tab delimited file into Excel.

Alternatively, you can use phpMyAdmin to export to *.csv if you have PHP.

Community
  • 1
  • 1
Kermit
  • 33,827
  • 13
  • 85
  • 121
0

PHPmyadmin allows you to Export to many different formats - why don't you access your database through that?

user1914292
  • 1,586
  • 13
  • 38