If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Excel to mySQL with PHP

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-06-04, 01:38
Sherpa Sherpa is offline
Registered User
 
Join Date: Jul 2004
Posts: 1
Excel to mySQL with PHP

I am dsperately trying to find a method to transfer an Excel spreadsheet to a mySQL database without first saving as a .csv file. I have found all the Windows GUIs and the ODBC but nothing for a Unix sys.

Please help.
Reply With Quote
  #2 (permalink)  
Old 07-11-04, 23:11
yellowmarker yellowmarker is offline
Registered User
 
Join Date: Jul 2004
Location: Dundee, Scotland
Posts: 107
A solution to the problem you describe does not exist.
Reply With Quote
  #3 (permalink)  
Old 07-12-04, 08:23
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,413
1) Since excel does not run on Unix, an easy solution may not exist.
2) This can be done via PERL, regardless os underlying OS.
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Reply With Quote
  #4 (permalink)  
Old 07-13-04, 08:44
markcasazza markcasazza is offline
Registered User
 
Join Date: Jul 2004
Posts: 5
Convert the Excel file to Access. There are many ways to accomplish this. Copy/Paste is the easiest, or you can exoprt to CSV and import from CSV. Go to http://www.mysqlfront.de/ and download and install MySQL-FRONT on your Windows box. The free version will allow an ODBC import from Access to MySQL. It will cretae the exact table structure you have in Access! You will have to configure the MySQL server to talk to your Windows box.

Mark Casazza
Reply With Quote
  #5 (permalink)  
Old 07-14-04, 00:22
karam_chand03 karam_chand03 is offline
Registered User
 
Join Date: Mar 2004
Posts: 10
On Linux, the only way I can forsee is to convert them into .CSV and use LOAD LOCAL command.

One windows, you can use MySQL Front as reported or even SQLyog ( http://www.webyog.com )
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On