MySQL Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsDatabasesMySQL Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old July 31st, 2003, 03:18 AM
rob_media rob_media is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 1 rob_media User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
New to MySQL

Hi all,

I work for a small company that runs a dynamic site using PHP, and have recently been put in charge of our database after the sites and database were designed by an external company.

I've got HTML/Javascript experience but am new to server side development.

Basically, we run off of one database with multiple tables within it.

I have set up MySQL Front and installed the ODBC driver. I can connect to the database via My SQL Front and view and create tables.

I have been given various excel documents with the field data for the new tables and need to import them into new tables within our one database.

In MySQL Front, I have managed to create a new table, for example ...called 'Furniture', It has the correct field names, but it is empty.

My question is....how do I import data from these excel spreadsheets onto the new table I have created? Do I need the database as a physical file on my computer to do this?

I understand that I need to use access, but how do I set it up to link data from there into MySQL Front?

This is probably pretty straight forward, but I am really stumped until someone shows me the light!!

Thanks in advance,

Rob

Reply With Quote
  #2  
Old August 11th, 2003, 06:57 AM
jdarwin jdarwin is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Aug 2003
Posts: 7 jdarwin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi,

You are right about going to Access. First convert your Excel data into Access tables.

Go to File -> Get External data -> Import, option on the Access 2000 menu bar. From here you can easily import your Excel files to Access tables.

Now, there's this Free program called "Access-to-MySQL" to convert Access data into MySQL tables for you automatically. Go to this web link:

http://mysql.netvisao.pt/portal/software/item-98.html

You can download it and try. There are various such converters avilable on the net. Just search it with "google" or your favourite search engins for keywords like "access to mysql".

John

Reply With Quote
  #3  
Old August 11th, 2003, 08:46 AM
dhouston's Avatar
dhouston dhouston is offline
Contributing User
Dev Articles Beginner (1000 - 1499 posts)
 
Join Date: May 2003
Location: Tennessee
Posts: 1,355 dhouston User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Send a message via ICQ to dhouston
I don't know how MySQL Front handles it, but mysql does allow you to import delimited data as well, so you may not need to go to Access. Usually it's just a matter of defining the field order, the delimiter, and the line-ender. I would think mysqlfront would have this utility built in. If not and if you have continued trouble, try phpmyadmin.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsDatabasesMySQL Development > New to MySQL


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT