Converting Microsoft Access Databases to MySQL

By: David Badurina
Submitted: 2007-01-17 16:02:45
Print this article | Tell a friend | For publisher | Social Bookmarking
Rating:
 

For small and large database projects, Microsoft Access works wonderfully. If you have a database with hundreds of thousands of records, maybe even connecting to other databases remotely, Access will work just fine. Security isn't too much of a problem (no Access database is truly secure), and with a wide range of options for publishing and reporting on your data, in many cases Access is as good as it gets.

That is, until you try to put it online. That's where converting your Access database to MySQL comes in.

While Microsoft Access is great as a desktop solution, it weakens greatly when transferred online. The limits on users and speed still exist, and it's not built to work well on platforms other than Microsoft. Unfortunately for Microsoft Access, most web servers run a form of Unix, not Windows.

Enter MySQL.

MySQL is a relational database system designed specifically for use online and housed on the most common servers online. It's fast, robust, clean, free, and fairly intuitive to work with as long as you have a very solid understanding of all things SQL. Converting to MySQL from Microsoft Access isn't without it's set of problems, however there are a few things you can do to make sure that this conversion goes smoothly.

1. Organize and clean your Microsoft Access database before converting to MySQL! This can't be stressed enough and it's pretty much the sole reason your conversion from Access to MySQL will fail or succeed. Think of upgrading from Access to MySQL like a complicated high-wire act. If one person has trouble going across that wire, chances are making him ride a bicycle across it while balancing a ball on his nose will only end up in disaster ... and a broken bicycle. Re-design your Microsoft Access database if you have to, but be absolutely sure that your database is designed flawlessly.

2. Set up your MySQL database. Just as making sure your Access database is designed flawlessly, your MySQL database must be designed just as flawlessly. MySQL has different data types than Microsoft Access does - you won't find memo fields, for instance - so be sure that your existing data will fit into the structure you build for MySQL. Otherwise, all you're going to get is a mess of mish-mashed data.

3. Export your Microsoft Access data to text files. Fortunately, MySQL has a very handy interface called phpMyAdmin. This allows you to interact directly with your tables through a somewhat graphical UI. All you need to have are tables and fields set up that match your data, and you can click, "Import Data from Text File" through phpMyAdmin. Browse to the text file, import it, and congratulations, your data is online!

While there is certainly more details to be learned regarding the process of converting from Microsoft Access to MySQL, always keep in mind the fundamentals. Databases that are designed perfectly will circumvent 95% of the problems that generally befall poorly designed ones. Converting Access to MySQL isn't terribly difficult or time consuming, but it can be very tricky. Back up your data, make sure you've designed databases properly on both sides, and your data could be up in no time. Then, it's on to PHP!

David Badurina, President of Blue Moose Technology, LLC, is a relational database design expert specializing in turning hideous data nightmares into efficient, intuitive database applications. Watch David's database design tutorial videos right now at http://www.bluemoosetech.com.

Article source: Expert Articles

Most Recent Articles in Computers category

  • Data Centre Solutions: Outsource the IT Infrastructure for Business Success - By: Isla Campbell
    When a company outgrows their existing IT infrastructure, what are the options available to them?
  • Computer Problems? Call the Computer Doctor - By: Elizabeth Gray
    Computers are one of the greatest things that we can have and it really opens up the world to us, especially when we are connected to the Internet. Unfortunately, computers can also be one of the most frustrating things that we can own and whenever they are giving us a problem, very few of us enjoy owning one.
  • Benefits of a Server Room Portable Air Conditioner - By: Jeanie Wong
    Server rooms are essentially rooms that house computer servers and in the informational technology sector, the term generally applies to smaller arrangements of servers, while larger groups of servers are housed in data centers. Learn how a server room air conditioner can benefit you.
  • The Technological Revolution - Pod casting For Beginners - By: Ravii Kumarr
    Podcasting is the latest technological revolution that happened in the World Wide Web. It is the latest innovation in broadcasting and a new medium in publishing shows. Podcasting show is termed as podcast.
  • To Find Easy Computer Financing - By: Sudhir Kumar
    Finding easy computer financing is not as simple for some as it is for others. Chances are that if you have perfect credit, you can finance just about anything.
  • Ipod Troubleshooting - By: Sudhir Sharma
    Do you have an iPod that refuses to work the way you want it to? Looks like you need some help. If you poke around a bit online, you can find excellent iPod troubleshooting tips. Whatever your problems are, they can likely be fixed quite easily.
  • Looking Carefully When Shopping For A Turnkey Website - By: Adnan Ahmed
    When starting a new home based internet business, you can get overwhelmed with everything that you need to learn to get started and be successful. You will need to build and design your website, decide on how you will generate income from your website, and learn internet marketing techniques on how to promote and direct visitors to your new website.
  • Simple Ways To Success For Online Jv's - By: Prakash Singh
    1. Be Personal and different - most successful marketers get propositioned on a daily basis. 2. Find major players in your industry (well-known product creators, service providers, website owners, list owners etc..) and get to know them a little (join their newsletter, read their information, buy a product or 2 from them) and if possible speak to them in person or via the phone.
  • Should You Buy A Flat Screen Monitor? - By: Arvinder Jeet
    Flat screen monitors for computers are not just a tech advance they are something new that just came out since the old monitor came out decades ago. I think that we have been using regular monitors for forever now.
  • Laptop Use As A Personal Asistant - By: Arvinder Jeet
    Don't be surprised but buying a laptop can be even harder than buying a desktop computer. In fact, buying a computer is very straightforward. Laptops, however, are very personal stuff because it's something that you will carry around with you and sometimes act as more than just a computer for you to work on.