A Test Drive of the MySQL Migration Suite

A Test Drive of the MySQL Migration Suite

he MySQL Migration Suite facilitates the movement of data from a proprietary database application. This MySQL product suite consists of three tools:

The MySQL Migration Toolkit uses an eight-step process to ease the transition of data from a proprietary database (such as Microsoft Access, Microsoft SQL Server, or Oracle) to the MySQL open source database. The MySQL Query Browser adds color-coded editing and auto code-generating capabilities, which makes managing your databases, tables, and history much easier. Grouped with the MySQL Administrator, the suite also reduces the complexity of the DBA’s chores, such as backup, viewing server logs, and optimizing server performance.

What You Need:
* 32-bit Windows platform running the Java Runtime Environment Standard Edition 1.4.2
* MySQL version 4.1 and higher (OS independent)
* Oracle, Microsoft SQL Server, or Microsoft Access data

Generous Licensing

The most obvious advantage for migrating to MySQL is the end user licensing agreement. MySQL is released under a dual licensing model, providing both open- and closed-source product solutions:

  1. The open source license: if you have a product that is released under the General Public License (GPL) and you wish to include MySQL in the product, you are at liberty to do so with no financial obligation to the MySQL corporation.
  2. The commercial license: if you develop a product that includes the MySQL server in your product and you do not want to release the source code of your product you must use the MySQL commercial license.

A very interesting aspect of the MySQL Open Source license is that it allows you to use the MySQL database to power any application?GPL or not?so long as you don’t distribute copies of the MySQL engine you use. MySQL remains free for users who never copy or distribute the MySQL software, whether or not they release the source code, regardless of custom changes to the MySQL server.

The Migration Process

Migrating a database to MySQL starts with the MySQL Migration Toolkit for Windows. The MySQL Toolkit has not yet been ported to Mac or Linux. To install the toolkit, you also need to have version 1.4.2 of Sun’s J2SE Java Runtime Environment (JRE) running because the toolkit incorporates a Java agent. First, check whether you have a previous version of Java installed. If so, remove it and restart your computer. You then can download and install the current JRE.

Double click j2re-1_4_2_08-windows-i586-p.exe to install the JRE. I chose the Windows installation instead of the 52MB offline installation file download. I installed the entire Java package including source code and development tools. Though you are not prompted to restart your machine here, it is good Windows housekeeping to reboot.

Next, download the MySQL Migration Toolkit. It has a typical, straightforward Windows installer, but the start menu lacks an uninstall option. Of course, you can uninstall the MySQL Migration Toolkit from the control panel ?> add/remove programs, but programs should uninstall with as few clicks as they install.

To continue, you need permission to remotely administer your MySQL database. If you haven’t already, grant permissions to a user on the remote MySQL system from your Windows computer:

> GRANT ALL PRIVILEGES ON *.* TO root@'192.168.0.67' IDENTIFIED BY 'mypassword' WITH GRANT OPTION;> FLUSH PRIVILEGES;

Alternatively, if you have the MySQL database installed on the same computer as the MySQL Migration Toolkit, use localhost as the database address, along with the necessary username and password.

Now you should be able to connect to MySQL through the toolkit’s GUI (see Figure 1). The user window is split into two distinct parts: the eight-step Migration Plan and the Wizard Interface. Currently, direct migration (moving data from your Windows box to a local or an external server) is the only available option. Work is continuing on an agent-based migration scheme that will allow the MySQL Migration Toolkit to transfer data between two remote servers.

Click to enlarge
Figure 1: Remote MySQL Connection

The next screen indicates whether or not your connection was successful (see Figure 2).

Click to enlarge
Figure 2: Remote MySQL Connection Confirmed

Continue to press Next until you complete the reverse engineering and migrate the database (see Figure 3).

Click to enlarge
Figure 3: Remote MySQL Connection Showing All Objects

Continue through the steps involving manual editing, schema creation, and data mapping until you get to step eight: the summary report. Once you make it to this step, chances are you’ve reverse engineered and migrated your database over to MySQL successfully. Review the summary report output (see Figure 4) and click Finish.

Click to enlarge
Figure 4: Step Eight: Summary Complete

The toolkit provides verbose details of each of the eight steps as you progress through the migration. To simplify matters even further, the MySQL homepage outlines this process in video presentations for both Oracle and Access migrations.

The MySQL Query Browser

Now that you have migrated the data to MySQL, it is time to install theMySQL Query Browser. Installation is as easy as download and double click. Consistent with the expectations of the average Windows end user, the interface utilizes drag-and-drop tools in a fully customizable file explorer fashion.

The MySQL Query Browser facilitates SQL editing with a wealth of rich features, including auto code completion, vertical and horizontal page split, image viewing, and file export to CVS, HTML, XML and Excel formats. Also included is a nice feature that functionally color codes edited changes. When you are ready to commit to an edit, you press the Apply Changes button at the bottom of the screen. Teamed with the MySQL Query Browser, the MySQL Migration Toolkit features an easy-to-navigate visual interface to the MySQL server, consistent with the drag-and-drop Windows style of GUI.

The MySQL Administrator

For visual administrative features, the MySQL Administrator provides visual feedback to the database administrator with functionality previously found only on the command line. Useful for file backups, log views, user admin, and server diagnostics, the MySQL Administrator is an extremely useful and visually verbose cross-platform diagnostics tool for the DBA. Like the MySQL Query Browser, the MySQL Administrator features an edit-changes-before-applying-changes style. The administrator can make and test changes before implementing them, greatly easing the pressure of live edits.

Room for Improvement

The MySQL Migration Toolkit provides all the functionality one has come to expect from a mature Windows program, but it currently is available only on Windows. Mac or Linux users are out of luck for the time being. While the MySQL Migration Toolkit is capable of transferring proprietary tables and data to a MySQL server, it cannot currently transfer Visual Basic for Applications (VBA) runtime code or queries bound to form controls. Oracle views, procedures, and sequences are also currently not supported. As an interim workaround, you can use MyODBC to link your Access front end with the MySQL server on the backend. Another alternative is to redesign your VB code and macros in Perl using Project: Axis (Not_Evil), a project whose goals include developing data-driven GUI apps under Linux.

Easy to Use, Easier on Your Budget

Despite its limitations, the MySQL Migration suite (beta) is a rapidly maturing project that provides an easy-to-use visual GUI for MySQL server migration, editing, and administration. Each of the three included applications is a standalone that provides its own visual working environment to the MySQL server.

Using an eight-step migration process, the MySQL Migration Toolkit is easy to install, visually pleasing, and intuitive. Because it incorporates a platform-independent Java agent and standards-based JDBC connectivity, the MySQL Migration Toolkit makes transferring data to and from the MySQL server practically effortless. Taking advantage of the free MySQL server license, you can (for example) migrate an Oracle database running on Solaris to a MySQL server running on BSD or Linux. Under the dual license agreement, migrating to the MySQL server has the potential to reduce the overhead costs associated with proprietary database servers. Compared with the command line, the MySQL Migration Suite makes migrating, querying, and administering a MySQL server a walk in the park.

Acknowledgements: Special thanks to Daniel Kasak, Bill White, Chad Auld, and Matt Comb

devx-admin

devx-admin

Share the Post:
USA Companies

Top Software Development Companies in USA

Navigating the tech landscape to find the right partner is crucial yet challenging. This article offers a comparative glimpse into the top software development companies

Software Development

Top Software Development Companies

Looking for the best in software development? Our list of Top Software Development Companies is your gateway to finding the right tech partner. Dive in

India Web Development

Top Web Development Companies in India

In the digital race, the right web development partner is your winning edge. Dive into our curated list of top web development companies in India,

USA Web Development

Top Web Development Companies in USA

Looking for the best web development companies in the USA? We’ve got you covered! Check out our top 10 picks to find the right partner

Clean Energy Adoption

Inside Michigan’s Clean Energy Revolution

Democratic state legislators in Michigan continue to discuss and debate clean energy legislation in the hopes of establishing a comprehensive clean energy strategy for the

Chips Act Revolution

European Chips Act: What is it?

In response to the intensifying worldwide technology competition, Europe has unveiled the long-awaited European Chips Act. This daring legislative proposal aims to fortify Europe’s semiconductor

USA Companies

Top Software Development Companies in USA

Navigating the tech landscape to find the right partner is crucial yet challenging. This article offers a comparative glimpse into the top software development companies in the USA. Through a

Software Development

Top Software Development Companies

Looking for the best in software development? Our list of Top Software Development Companies is your gateway to finding the right tech partner. Dive in and explore the leaders in

India Web Development

Top Web Development Companies in India

In the digital race, the right web development partner is your winning edge. Dive into our curated list of top web development companies in India, and kickstart your journey to

USA Web Development

Top Web Development Companies in USA

Looking for the best web development companies in the USA? We’ve got you covered! Check out our top 10 picks to find the right partner for your online project. Your

Clean Energy Adoption

Inside Michigan’s Clean Energy Revolution

Democratic state legislators in Michigan continue to discuss and debate clean energy legislation in the hopes of establishing a comprehensive clean energy strategy for the state. A Senate committee meeting

Chips Act Revolution

European Chips Act: What is it?

In response to the intensifying worldwide technology competition, Europe has unveiled the long-awaited European Chips Act. This daring legislative proposal aims to fortify Europe’s semiconductor supply chain and enhance its

Revolutionized Low-Code

You Should Use Low-Code Platforms for Apps

As the demand for rapid software development increases, low-code platforms have emerged as a popular choice among developers for their ability to build applications with minimal coding. These platforms not

Cybersecurity Strategy

Five Powerful Strategies to Bolster Your Cybersecurity

In today’s increasingly digital landscape, businesses of all sizes must prioritize cyber security measures to defend against potential dangers. Cyber security professionals suggest five simple technological strategies to help companies

Global Layoffs

Tech Layoffs Are Getting Worse Globally

Since the start of 2023, the global technology sector has experienced a significant rise in layoffs, with over 236,000 workers being let go by 1,019 tech firms, as per data

Huawei Electric Dazzle

Huawei Dazzles with Electric Vehicles and Wireless Earbuds

During a prominent unveiling event, Huawei, the Chinese telecommunications powerhouse, kept quiet about its enigmatic new 5G phone and alleged cutting-edge chip development. Instead, Huawei astounded the audience by presenting

Cybersecurity Banking Revolution

Digital Banking Needs Cybersecurity

The banking, financial, and insurance (BFSI) sectors are pioneers in digital transformation, using web applications and application programming interfaces (APIs) to provide seamless services to customers around the world. Rising

FinTech Leadership

Terry Clune’s Fintech Empire

Over the past 30 years, Terry Clune has built a remarkable business empire, with CluneTech at the helm. The CEO and Founder has successfully created eight fintech firms, attracting renowned

The Role Of AI Within A Web Design Agency?

In the digital age, the role of Artificial Intelligence (AI) in web design is rapidly evolving, transitioning from a futuristic concept to practical tools used in design, coding, content writing

Generative AI Revolution

Is Generative AI the Next Internet?

The increasing demand for Generative AI models has led to a surge in its adoption across diverse sectors, with healthcare, automotive, and financial services being among the top beneficiaries. These

Microsoft Laptop

The New Surface Laptop Studio 2 Is Nuts

The Surface Laptop Studio 2 is a dynamic and robust all-in-one laptop designed for creators and professionals alike. It features a 14.4″ touchscreen and a cutting-edge design that is over

5G Innovations

GPU-Accelerated 5G in Japan

NTT DOCOMO, a global telecommunications giant, is set to break new ground in the industry as it prepares to launch a GPU-accelerated 5G network in Japan. This innovative approach will

AI Ethics

AI Journalism: Balancing Integrity and Innovation

An op-ed, produced using Microsoft’s Bing Chat AI software, recently appeared in the St. Louis Post-Dispatch, discussing the potential concerns surrounding the employment of artificial intelligence (AI) in journalism. These

Savings Extravaganza

Big Deal Days Extravaganza

The highly awaited Big Deal Days event for October 2023 is nearly here, scheduled for the 10th and 11th. Similar to the previous year, this autumn sale has already created

Cisco Splunk Deal

Cisco Splunk Deal Sparks Tech Acquisition Frenzy

Cisco’s recent massive purchase of Splunk, an AI-powered cybersecurity firm, for $28 billion signals a potential boost in tech deals after a year of subdued mergers and acquisitions in the

Iran Drone Expansion

Iran’s Jet-Propelled Drone Reshapes Power Balance

Iran has recently unveiled a jet-propelled variant of its Shahed series drone, marking a significant advancement in the nation’s drone technology. The new drone is poised to reshape the regional

Solar Geoengineering

Did the Overshoot Commission Shoot Down Geoengineering?

The Overshoot Commission has recently released a comprehensive report that discusses the controversial topic of Solar Geoengineering, also known as Solar Radiation Modification (SRM). The Commission’s primary objective is to

Remote Learning

Revolutionizing Remote Learning for Success

School districts are preparing to reveal a substantial technological upgrade designed to significantly improve remote learning experiences for both educators and students amid the ongoing pandemic. This major investment, which

Revolutionary SABERS Transforming

SABERS Batteries Transforming Industries

Scientists John Connell and Yi Lin from NASA’s Solid-state Architecture Batteries for Enhanced Rechargeability and Safety (SABERS) project are working on experimental solid-state battery packs that could dramatically change the

Build a Website

How Much Does It Cost to Build a Website?

Are you wondering how much it costs to build a website? The approximated cost is based on several factors, including which add-ons and platforms you choose. For example, a self-hosted