transfer records from Ecxel to MySQL

Discussion in 'MySQL' started by Kyriakos, May 9, 2008.

  1. #1
    Hi everyone.

    I had export MS SQL records to an Excel file (via E.R.P. program). now i want all this records to transfer (import) in MySQL database. which is the right way to do this?

    thanks in advance.
     
    Kyriakos, May 9, 2008 IP
  2. sawz

    sawz Prominent Member

    Messages:
    8,225
    Likes Received:
    808
    Best Answers:
    0
    Trophy Points:
    360
    #2
    you could google it and find many converters available to do it automatically. :D
     
    sawz, May 9, 2008 IP
    ЄxDeus™ likes this.
  3. Lurznm

    Lurznm Banned

    Messages:
    683
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Lurznm, May 9, 2008 IP
    sawz likes this.
  4. jestep

    jestep Prominent Member

    Messages:
    3,659
    Likes Received:
    215
    Best Answers:
    19
    Trophy Points:
    330
    #4
    Try Navicat: http://www.navicat.com/

    It allows you to import into mysql from txt, excel and a bunch of other file types. They have a free trial and a free personal version.
     
    jestep, May 9, 2008 IP
    sawz likes this.
  5. entwickler

    entwickler Member

    Messages:
    74
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #5
    Try using excel itself to generate the insert statements. I have done this several times. Using formulas in one of the cells i am generating insert for the first row of data then I am just copying the formula and then copying and pasting the whole column in notepad and you have insert script.
     
    entwickler, May 9, 2008 IP
  6. allaboutgeo

    allaboutgeo Peon

    Messages:
    85
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #6
    You can save the excel file as CSV format and import CSV file using many MySQL GUIs including phpmyadmin, heidisql etc. Or you can use MySQL's LOAD DATA INFILE syntax.
     
    allaboutgeo, May 9, 2008 IP
  7. ЄxDeus™

    ЄxDeus™ Well-Known Member

    Messages:
    2,860
    Likes Received:
    214
    Best Answers:
    1
    Trophy Points:
    155
    #7
    nice advice here lol i was about to ask more less the same thing :)
     
    ЄxDeus™, May 9, 2008 IP
  8. daboss

    daboss Guest

    Messages:
    2,249
    Likes Received:
    151
    Best Answers:
    0
    Trophy Points:
    0
    #8
    this is the best and easiest way to do it... :cool:
     
    daboss, May 10, 2008 IP
  9. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #9
    Here is the list of MySQL GUI tools which can help you to import data.
     
    mwasif, May 10, 2008 IP
  10. olcaymy

    olcaymy Active Member

    Messages:
    561
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    85
    #10
    you could google it and find many converters available to do it automatically.
     
    olcaymy, May 13, 2008 IP
  11. theinvasion

    theinvasion Member

    Messages:
    55
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #11
    Navicat is the best. I am using it myself :)
     
    theinvasion, May 21, 2008 IP
  12. allaboutgeo

    allaboutgeo Peon

    Messages:
    85
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #12
    I agree but but it is paid :(
     
    allaboutgeo, May 24, 2008 IP