Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
0

Import data into MySQL on my Mac.

Community Beginner ,
Jan 30, 2011 Jan 30, 2011

Copy link to clipboard

Copied

I have a list of books in an Excel spreadsheet (so I can export it as CSV  etc.) and I would like to import them into a MySQL database, on my Mac (running Snow leopard 10.6.6).

In case it is important, the fields are:

Author, Title, Weight, Signed, Hardback, Condition, Genre

I am assuming that I will use terminal, type "mysql" and the go from there.

Can anyone help me?  Do I have to create the table first and then load it in?

On my Windows machine I had a tool SQLite3.exe which was front end to MySQL.  Is there anything like this for the Mac?

TOPICS
Server side applications

Views

515
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 31, 2011 Jan 31, 2011

Copy link to clipboard

Copied

Try Sequel Pro... that has an import option for CSV

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Jan 31, 2011 Jan 31, 2011

Copy link to clipboard

Copied

LATEST

Actually, if you have a DB on a PC already, just export it from your MySQL administrator and then reimport it on your mac using MySQL administrator on the mac

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines