Connecting Tech Pros Worldwide Forums | Help | Site Map

Import data from mysql to excel

Newbie
 
Join Date: Aug 2008
Posts: 2
#1: Aug 20 '08
hi...
im ct...actually im new in mysql...i done build survey use mysql as port data.the question is, how can i import the data from mysql to excel?

Newbie
 
Join Date: Aug 2008
Posts: 14
#2: Oct 15 '08

re: Import data from mysql to excel


if you can access the database just export data in csv format.
Atli's Avatar
Moderator
 
Join Date: Nov 2006
Location: Iceland
Posts: 3,751
#3: Oct 15 '08

re: Import data from mysql to excel


And to do that, you could use the SELECT INTO OUTFILE syntax.

For example:
Expand|Select|Wrap|Line Numbers
  1. SELECT * FROM `myTable` INTO OUTFILE '/path/to/my/file.cvs';
  2.  
Reply