All Web Applications In One Streamlined Environment 
Customer Service  |  Site Map
Home
Products
Download
Store
Support
Partners

Browse Topics In
Knowledge Base


General Issue

Photo Gallery

Newsletter

FAQ Support

Customer Helpdesk

Link Manager

Geo Traffic

CSV Data Tool

eCommerce

Web Blogger

Events Calendar

Vote Caster

News & Announcement

Guestbook

Contact Form


Search for Answers
Intelligent FAQ Search. Type in your keywords to search for the answers you need.


Customer Helpdesk
Can't find the answers you need? Go to our Technical Support Helpdesk





Back CSV Data Tool > Tutorials Showing 2 of 5 Prev   Next


Import a CSV file into MySQL database.
Modified on 2004-12-21


Before importing your data, we highly recommend you to open the CSV file with a text editor, and ensure that the data is appear in record per row basis.

  1. Login to your One Admin control panel, and click on CSV Import link.

  2. First, you'll need to upload your CSV file to your web server. To do this, click on the 'Browse' button, select and locate the CSV file from your hard drive.

  3. Enter the number of records to preview on this page, just after you uploaded the CSV file.

  4. Click on the 'Upload' button. The CSV file will be saved to your web server.

  5. Click on the 'Click to view all columns' link to ensure that each record is properly uploaded.

  6. Click 'Next' to proceed to second step.

  7. Under the section, 'Connect Database', enter the MySQL host, MySQL user and MySQL password in the boxes provided. Click 'Save this connection information' if you want to the system to remember your MySQL connection info the next time you import a new data.

  8. Click on the 'Connect' button.

  9. Select a database in which the table you want the data to import to is reside, from the drop down list.

  10. Select which table the data is import to from the drop down menu.

  11. Click the corresponding link to view the columns structure of the table chosen.

  12. Click on the 'Next' button.

  13. On the next page, 'Match Column', you will be able to see whether the columns of the CSV file you uploaded matches the columns of the table.

  14. If everything is alright, scroll down a bit, there is an option asking if you want to import the first record row of the CSV file. Put a check to import the first row.

  15. Also, if you wish to let the database auto-creates value in increment for you, pick the 'Use auto increment for column' box, then select which column to apply the method to.

  16. Choose an import option. You have 3 options in this section, which described as below:

    1. Append as new records

      • This option allows you to add new records to the table without affecting teh existing data rows.

      • Choose this option if you're importing records to an empty table.

    2. Replace all existing records

      • Use this option to replace the existing data with new records.

    3. Update records using Primary Key

      • Select this option if you attempts to update only a few records rows while keeping the remaining data.

      • Click here for more detailed guidelines on how to update records in existing table.

  17. Clicking on the 'Next' button will start importing your CSV file records to your database.

  18. You're then taken to the Import Summary page.



Is this FAQ helpful? Ratings :
Printer Friendly Version
Tell A Friend


Related FAQs In This Category
Import a CSV file into MySQL database.
How do I update records of a table using the CSV Import?




Quick Links
Support Helpdesk
Knowledge Base
Product Activation
Installation Support


More Information
Purchase & Delivery
Pricing Information
Payment Methods
Refund Policy
License Agreement
Privacy Policy

Copyright © 2004 by Comdev Software Sdn Bhd. All Rights Reserved. License Agreement Privacy Policy