25 Years of Programming Community Forum
Blog  Sitemap  Services
June 19, 2013, 10:12:43 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Many people land on pages of this website with questions that could easily have been answered if they'd asked. If your question wasn't answered on one of the web pages, feel free to ask in the forum.
 
   Home   Help Search Login Register  
This is a link to the Chat Room (for Firefox+ChatZilla) when you are logged in.
View help topic about using Live Chat
Pages: 1   Go Down
  Print  
Author Topic: Convert Microsoft Access database to MySQL  (Read 3580 times)
0 Members and 1 Guest are viewing this topic.
SteveW
Administrator
Sr. Member
*****
Offline Offline

Posts: 285


WWW
« on: July 18, 2010, 05:17:05 AM »

This thread is for reader comments or questions about my article "Migrating a Microsoft Access database to MySQL."

You can start a new topic, if you prefer.
« Last Edit: July 30, 2010, 03:35:49 PM by SteveW » Report to moderator   Logged
philverb
Newbie
*
Offline Offline

Posts: 2


« Reply #1 on: August 18, 2010, 01:05:55 AM »

I was hoping that you'd include an example of the mdb-tools FLAG for throwing things into the idiom of MySQL.  Thank you for the article.  There could have been a moment after mentioning the MySQL variant where you take to time to say:

#######################
[root@localhost ~]# mdb-schema
Usage: mdb-schema [options] <file> [<backend>]
where options are:
  -T <table>     Only create schema for named table
  -N <namespace> Prefix identifiers with namespace
  -S             Sanitize names (replace spaces etc. with underscore)
[root@localhost ~]# man
########################

mdb-schema -S MDBFILE.mdb mysql [as opposed to other DB platforms, where 'sybase', 'oracle', 'postgres', or others could have had a spot.]
#########################

Report to moderator   Logged
philverb
Newbie
*
Offline Offline

Posts: 2


« Reply #2 on: August 18, 2010, 01:12:19 AM »

[the idea being about just where to place the flag, and just with what it is interchangeable]

Wonderful post, Steve --and thank you again!
Report to moderator   Logged
SteveW
Administrator
Sr. Member
*****
Offline Offline

Posts: 285


WWW
« Reply #3 on: August 18, 2010, 10:23:29 AM »

Your suggestion led to a discovery. I'm using Ubuntu 9.04, so when I type
mdb-schema
or
man mdb-schema
it shows that the -S flag is available. So does the documentation at http://manpages.ubuntu.com/manpages/jaunty/man1/mdb-schema.1.html. But if you browse to the later versions on that page you'll see that -S isn't shown anymore in 10.04LTS and after. It's also not shown at http://linux.die.net/man/1/mdb-schema.

I didn't mention -S or the other mdbtools options because I hadn't used them and couldn't describe them any better than the documentation, but now I wonder if the -S option still exists in later versions.

If any of the mdbtools programs create unacceptable or undesirable table names, it seems like it should be possible to correct them in the output files with sed or by manually editing them before using them to do the table creates and data transfers.
Report to moderator   Logged
ciara1
Newbie
*
Offline Offline

Posts: 6


« Reply #4 on: September 30, 2011, 04:55:50 AM »

Try to use "Access-to-MySQL" software to convert it for you, make sure you unhide all the access files you want to convert, a free trial is available on internet...just google search
Report to moderator   Logged

Pages: 1   Go Up
  Print  
 
Jump to:  

Yahoo! Search
Search the web Search this site
Mazeguy Smilies Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!