Import data from mysql to excel

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shasiti
    New Member
    • Aug 2008
    • 2

    Import data from mysql to excel

    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?
  • vetrib2w
    New Member
    • Aug 2008
    • 14

    #2
    if you can access the database just export data in csv format.

    Comment

    • Atli
      Recognized Expert Expert
      • Nov 2006
      • 5062

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

      For example:
      [code=mysql]
      SELECT * FROM `myTable` INTO OUTFILE '/path/to/my/file.cvs';
      [/code]

      Comment

      Working...