473,394 Members | 2,090 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

MS Access to MySQL

I need to convert an MS Access database (Single Table) to MySQL (relational
set of tables). As such, I think I'm going to have to get the data from the
MS Access table and write code to convert it to MySQL. I "think" I need an
ODBC connection to the MS Access table and tools to return a recordset. Once
I have the recordset, I can break it and store in the MySQL database tables.
That should be fairly straight forward.

So, how get at the MS Access database and return a recordset? Or, can
someone point me to tutorial?

Thank you....
Mar 23 '07 #1
5 1609
On Thu, 22 Mar 2007 22:58:20 -0400, "Bruce A. Julseth"
<br*************@bellsouth.netwrote:
I need to convert an MS Access database (Single Table) to MySQL (relational
set of tables). ...
I think http://www.heidisql.com/ can easily do that.

HTH.
Maverick

--
«Che non siete pił liberi di non avere una casa con letto per dormire.
Lavorate voi - schiavi dei soldi - che non sentite la puzza della
schiavitł!» (a Mario di Monte Mario, Roma) # http://libre.netsons.org/
Mar 23 '07 #2
Bruce A. Julseth wrote:
>I need to convert an MS Access database (Single Table) to MySQL (relational
set of tables). As such, I think I'm going to have to get the data from the
MS Access table and write code to convert it to MySQL. I "think" I need an
ODBC connection to the MS Access table and tools to return a recordset.
Once I have the recordset, I can break it and store in the MySQL database
tables. That should be fairly straight forward.

So, how get at the MS Access database and return a recordset? Or, can
someone point me to tutorial?
MS Access will export a database table to a .csv file.
--
Richard.
Mar 23 '07 #3

"Richard Formby" <rf@invalid.comwrote in message
news:IP*************@news-server.bigpond.net.au...
Bruce A. Julseth wrote:
>>I need to convert an MS Access database (Single Table) to MySQL
(relational set of tables). As such, I think I'm going to have to get the
data from the MS Access table and write code to convert it to MySQL. I
"think" I need an ODBC connection to the MS Access table and tools to
return a recordset. Once I have the recordset, I can break it and store in
the MySQL database tables. That should be fairly straight forward.

So, how get at the MS Access database and return a recordset? Or, can
someone point me to tutorial?

MS Access will export a database table to a .csv file.
--
Richard.
Yah, I thought about that. I could import the .csv in to MySQL as a single
Table (as it now), then read it and convert it to the relational database
(which is the new design). The "Minor" problem is that I need to continue to
use the MS Access database while developing the "New Design" web system.
Once the new system is working, I'd have to import a second time. No big
deal, I guess.
Mar 23 '07 #4

"Maverick FC" <fr*********@NOSPAMlibero.itwrote in message
news:8q********************************@4ax.com...
On Thu, 22 Mar 2007 22:58:20 -0400, "Bruce A. Julseth"
<br*************@bellsouth.netwrote:
>I need to convert an MS Access database (Single Table) to MySQL
(relational
set of tables). ...

I think http://www.heidisql.com/ can easily do that.

HTH.
Maverick

--
«Che non siete pił liberi di non avere una casa con letto per dormire.
Lavorate voi - schiavi dei soldi - che non sentite la puzza della
schiavitł!» (a Mario di Monte Mario, Roma) # http://libre.netsons.org/
I looked at this. I didn't seem like it would do what I wanted it to do...

Thanks for the suggest.. Appreciate the response..
Mar 23 '07 #5
On Fri, 23 Mar 2007 03:58:20 +0100, Bruce A. Julseth
<br*************@bellsouth.netwrote:
I need to convert an MS Access database (Single Table) to MySQL
(relational
set of tables). As such, I think I'm going to have to get the data from
the
MS Access table and write code to convert it to MySQL. I "think" I need
an
ODBC connection to the MS Access table and tools to return a recordset.
Once
I have the recordset, I can break it and store in the MySQL database
tables.
That should be fairly straight forward.

So, how get at the MS Access database and return a recordset? Or, can
someone point me to tutorial?

Thank you....

Maybe this helps:
http://www.w3schools.com/php/php_db_odbc.asp

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Apr 1 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: Mike MacSween | last post by:
My client has an MS Access database application on her local machine. I have full access to that in terms of changing the design. I've got a simple PHP/MySql application on shared hosting, so no...
17
by: chicha | last post by:
Hey people, I have to convert MS Access 2000 database into mysql database, the whole thing being part of this project I'm doing for one of my faculty classes. My professor somehow presumed I...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
5
by: B1ackwater | last post by:
We've fooled around with Access a bit, but only using the single-user store-bought version. It seems to be a good database - versatile and infinitely programmable - and can apparently be used as a...
4
by: Vanessa | last post by:
Hi there I am an Access developer, and I have written applications for a 30 telephone call center, using the standard multiuser jet engine, it all works fine, but I want to move our systems onto...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.