home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

MySQL DB to MS ACCESS DB

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2131
Discussions: 200,948, Posts: 2,379,401, Members: 246,309
Old January 19th, 2003, 12:08 PM   Digg it!   #1 (permalink)
Member
 
grandma's Avatar
 
Join Date: Mar 2002
Location: Northern Michigan
Posts: 89
MySQL DB to MS ACCESS DB

I have a MySQL DB that I would like to convert to an MS Access DB.

Reason being is more efficient in creating reports in MS Access.

Does anyone know of a script/program that can do this?

TIA

Grandma
grandma is offline   Reply With Quote
Old January 19th, 2003, 02:57 PM     #2 (permalink)
Senior Member
 
Join Date: Oct 2001
Location: Alberta, Canada
Posts: 563
here's how I was able to do it...

if you have myodbc installed, you can create a dsn to the database in mysql that you want

then create a blank access db, and go to File->Get External Data->Import

a new window will open, in the "Files of Type" dropdown, choose the bottom one, "ODBC Databases()" and the "Select Data Source" window opens.

Go to the "Machine Data Source" tab, and select your dsn as created previously.

If you connect fine, you should be able to choose the tables to import... make your choice and click ok!

You'll have to check your tables over in access tho, some properties might not be what you want, since the import most likely isn't perfect...

cheers,
good luck!
^hyd^ is offline   Reply With Quote
Old January 19th, 2003, 10:45 PM     #3 (permalink)
Banned
 
qball's Avatar
 
Join Date: Oct 2001
Posts: 447
^hyd^,

Good answer, that would be easiest way. Though this just converts structure and data, if access supports the same structure that mySQL (dependent upon version) supports.

grandma,

send money and those tasty cookies...

Depending upon use, yes Access, easier to make reports and views, blah, blah for simple stuff.

But, access not real DB mySQL is, and you will lose some big benefits:

mySQL free.
access, NOT.

mySQL fast, very fast.
access, er, ah, slow...

mySQL if not fully SQL compliant, very close in what it does.
access has it's own concept of SQL, like TSQL or something...

This last fact, may or may not affect this conversion, as if, if the mySQL db has a table comumn with certain attributes in mySQL, they will be converted (or something) to whatever access supports, this may cause issues that need to be rectified manually, after import. Could also affect data integrity, not a good thing.

If reporting is an issue, what reports do you run now on mySQL DB? and how do you think access will help?
qball is offline   Reply With Quote
Old January 21st, 2003, 04:48 PM     #4 (permalink)
Senior Member
 
Join Date: Oct 2001
Location: New Hampshire, USA
Posts: 641
Listen to QBALL - excellent observations and comments.

The only thing I would add is that if generating reports is the only issue, you can run MS Access based off of LINKED tables stored in virtually any ODBC compliant database.

By installing MyODBC ODBC drivers on your client workstation, you will be able to access a DSN ('data source name' that you manually create through the 'ODBC DataSources icon' in your Windows control panel) to create linked table access in basically the same manner that ^hyd^ suggested for importing data tables. You would have to do this even if you were utilizing Crystal Reports or some other report generating software that would allow you to generate even more advanced reports than are available through MS Access.

I would also suggest that MySQL is more robust and reliable than MS Access. If database performance is an issue, my understanding is that MySQL is one of the all time fastest database engines out there for simple select queries. When you get to performing more complex querying other backend databases might be of interest. As far as reliability, MySQL's web page used to list NASA and Texas Instruments as some of the organizations who have determined MySQL to suit their industrial needs best despite competing database products from commercial vendors.

You can also create PASS-THROUGH queries to send the query processing away from the client computer and through to your MySQL server to increase the slow performance speeds available through MS Access.


(EDIT: Unelss things have changed, TechIMO runs off of a MySQL backend too.)

Last edited by ctaylor : January 21st, 2003 at 04:50 PM.
ctaylor is offline   Reply With Quote
Old January 22nd, 2003, 06:54 PM     #5 (permalink)
Member
 
grandma's Avatar
 
Join Date: Mar 2002
Location: Northern Michigan
Posts: 89
I'll give it a shot

Thanks people!

Yep, I have a simple database of listings, and they want a downloadable format. MS Access is my only experience with reports.

I'll report back soon.

Cookies on the way.

Grandma
grandma is offline   Reply With Quote
Old January 24th, 2003, 11:58 PM     #6 (permalink)
Member
 
grandma's Avatar
 
Join Date: Mar 2002
Location: Northern Michigan
Posts: 89
Thanks guys.

Just installed the MySQL Connector/ODBC on my computer and was able to import the tables and create some reports.

Grandma
grandma is offline   Reply With Quote
Old November 26th, 2003, 11:26 AM     #7 (permalink)
Junior Member
 
Join Date: Nov 2003
Posts: 1
if i understand well, u stayed on mysql...
what report generator did u use?

could u help me with some free report generators?

thanx a lot


Quote:
Originally posted by grandma
Thanks guys.

Just installed the MySQL Connector/ODBC on my computer and was able to import the tables and create some reports.

Grandma

xmun is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Making Health Care Worse (173)
Is It Just Me? (2936)
The disrespect of Obama by Russian .. (22)
Wireless Televisions. (12)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Regular Build (6)
Is the PSU I received dead? (12)
radeon x850xt platinum & shader.. (5)
Print spooler problem (15)
HIS HD5770 graphic card question (15)
windows vista security holes (9)
Install XP pro and a Vista laptop ?.. (11)
Dept. of HS: NSA 'Helped' Develop V.. (15)
Recent Discussions
How to convert MP3's (4)
Wireless Televisions. (12)
Graphics Card Upgrade Question (3)
Laptop with wireless problem. (2)
Internet Lost (1)
Hp Artist Edition + Matching Bag (0)
My monitor won't turn on after instal.. (0)
Asus P4G8X Mobo (6)
radeon x850xt platinum & shader 3 (5)
Xbox 360 GTA: SA disk error (1)
Is the PSU I received dead? (12)
windows 7 internet problem (5)
Multiple Restarts Required at Boot (0)
BSOD On Startup (ntoskrnl.exe) (2)
Print spooler problem (15)
Have you switched yet? (86)
screen resolution vs monitor size (2)
sms storage to PC (0)
Regular Build (6)
Open With ..... Win7 (0)
java code for fibonacci (1)
[F@H SPAM 11/16/09] ! 1/2 months to r.. (35)
windows 7 problem (7)
CPU fan stops spinning randomly (8)
Partition Magic caused HDD problem (3)


All times are GMT -4. The time now is 09:15 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28