Do you mean use tab between each column (i.e. each piece of data in the row)?
You would need soemthing like:
Code:
LOAD DATA INFILE
'path/to/your/file/filename.txt'
INTO TABLE tablename
FIELDS TERMINATED BY '/t'
LINES TERMINATED BY '/n'
You may need to try different variations on the /n if you are getting trouble still. You may need /r/n or /r/f for instance. I'm not sure what the actual line separator is on a Mac.
YOu are not specifying what is being used to separate the lines so therefore you are not getting separate lines input. If you don't use a tab or some other character between your columns of data you will also run into trouble.
Bookmarks