Results 1 to 2 of 2

Threaded View

  1. #1
    Join Date
    Aug 2009
    Posts
    60
    Plugin Contributions
    0

    Default Uploading CSV files using phpMyadmin?

    I have a csv file that I would like to upload using phpMyAdmin. The data consists of three columns of numbers. The first row indicates the names for each of the columns. I would like to take this information and substitute it for one of the tables in my zencart database. The file contains a lot of numbers which is why I want to upload the data with a csv rather than to input the same stuff manually.

    The table I want to upload to has 8 columns. How do I get the data from the file to go into specific columns in the table? when I looked at the import options, I'm asked several questions:

    (1) number of records to skip from the start: I'm not sure whether this refers to the file I am uploading, i.e. telling phpMyAdmin how many lines of header materials there is - or does it have something to do with where the file is placed within the table? i.e. which columns to put the information in

    (2) fields terminated by ; Why is it asking me this when it's a csv file? the fields are separated by commas not by a semicolon. am I supposed to change this field?

    (3) fields enclosed by "". They aren't enclosed by anything, so am I suppose to leave this blank?

    (4) fields escaped by \ Not sure what this means

    (5) lines terminated by auto
    there's nothing at the end, just a return so I assume this field should be left alone.

    (6) column names: is this referring to the names of the columns in the file? Or the names of the columns in the table where the numbers should go?


    any help would be much appreciated.
    Last edited by Snicklefritz; 10 Dec 2009 at 09:06 PM.

 

 

Similar Threads

  1. Uploading the Shops CSV Files - EZ Pop
    By arran in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 9 Mar 2011, 08:17 PM
  2. Uploading Products in a CSV Format to PhPMyAdmin?
    By byrd813 in forum General Questions
    Replies: 4
    Last Post: 26 Aug 2009, 02:48 AM
  3. Uploading using a CSV file
    By martin-in-bath in forum General Questions
    Replies: 2
    Last Post: 12 Nov 2008, 09:07 PM
  4. Using suppliers .csv files to update on Zencart Site
    By timkay in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 2 Jun 2008, 05:50 PM
  5. Uploading Large SQL files to phpMyAdmin
    By Mike_Dean in forum Installing on a Windows Server
    Replies: 6
    Last Post: 5 Jan 2008, 09:40 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg