iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Database Discussion Forum This is the place to find help resolving those nagging questions you have about implementing and using all kinds of databases. Need help writing a query? Need an opinion on Oracle? Post here!

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-13-2004, 11:57 PM
WildSeeker's Avatar
WebProWorld Member
 
Join Date: Nov 2003
Location: New York City
Posts: 30
WildSeeker RepRank 0
Default Data Dump: Excel -> mySQL

Greetings -

I have an Excel spreadsheet containing data that I would like to load into a mySQL database. The data will be imported from a single file into a single table. Is there a way to use PHPmyadmin for this task? If so, how? If not, how can I go about doing so?

Any help with this would be greatly appreciated.
__________________
Regards,

Tim
WildSeeker
The Adventure Travel Resource
Reply With Quote
  #2 (permalink)  
Old 04-14-2004, 09:47 AM
WebProWorld Pro
 
Join Date: Mar 2004
Location: Pittsburgh, PA, USA
Posts: 109
ChrisRC RepRank 0
Default

You can.

First, set up the structure of the table in MySQL.
Then save the Excel file as either comma seperated or tab seperated text file.

In MySQL, go to your table properties
go to the SQL tab
near the bottom of the SQL page is a link to "Insert data from a textfile into table" click that.
You can adjust these settings as needed but your "fields terminated by" will be either , for a csv or \t for a tab delimited file. Lines terminated by should default to \r\n which is correct.

Browse to the location of your file, then hit submit.

Note that these instructions are based on phpMyAdmin 2.5.6-rc1, although I don't think this task has changed much in a few versions.
Reply With Quote
  #3 (permalink)  
Old 09-24-2004, 02:52 PM
WebProWorld New Member
 
Join Date: Sep 2004
Posts: 6
cristiu RepRank 0
Default use MySQLFront

You may use MySQLFront is tool trough you can do this very easy www.mysqlfront.de
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Database Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 08:57 AM.



Search Engine Optimization by vBSEO 3.3.0