Skip Headers

Oracle Migration Workbench Reference Guide for MySQL 3.22, 3.23 Migrations
Release 9.2.0 for Microsoft Windows 98/2000, Microsoft Windows NT and Red Hat Linux 6.2

Part Number A97249-01
Go To Documentation Library
Go To Product List
Book List
Go To Table Of Contents
Go To Index

Master Index


Go to previous page Go to next page


The Oracle Migration Workbench Reference Guide for MySQL 3.22, 3.23 Migrations provides detailed information about migrating a database from MySQL to Oracle9i, Oracle8, or Oracle8i. It describes several differences between MySQL and Oracle. It also outlines how those differences are dealt with by the Oracle Migration Workbench (Migration Workbench) during the conversion process.

This chapter contains the following sections:


This guide is intended for anyone who is involved in converting a MySQL database to Oracle using the Migration Workbench.

What You Should Already Know

You should be familiar with relational database concepts. You should also be familiar with the operating system environments where you are running MySQL and Oracle.

Structure of this Guide

This reference guide is organized as follows:

Chapter 1, "Overview"

Introduces the concepts and features of the Migration Workbench.

Chapter 2, "Migration Process"

Describes the architecture of MySQL and Oracle. It explains how to prepare the MySQL database for migration. This chapater also describes how to migrate from MySQL to Oracle using the Migration Workbench.

Chapter 3, "MySQL Data Types, Reserved Words, and Operators"

Provides the data types from MySQL to Oracle and provides a list of Oracle9i and Oracle8i reserved words.

Chapter 4, "Troubleshooting"

Describes how to solve problems using the Migration Workbench.

Appendix A, "MySQL Error Messages"

Proviedes a list of MySQL error messages and possible solutions.

Using this Guide

Every reader of this reference guide should read Chapter 1, "Overview". That chapter provides an introduction to the concepts and terminology of the Migration Workbench.

Documentation Accessibility

Our goal is to make Oracle products, services, and supporting documentation accessible, with good usability, to the disabled community. To that end, our documentation includes features that make information available to users of assistive technology. This documentation is available in HTML format, and contains markup to facilitate access by the disabled community. Standards will continue to evolve over time, and Oracle Corporation is actively engaged with other market-leading technology vendors to address technical obstacles so that our documentation can be accessible to all of our customers. For additional information, visit the Oracle Accessibility Program Web site at

Accessibility of Code Examples in Documentation

JAWS, a Windows screen reader, may not always correctly read the code examples in this document. The conventions for writing code require that closing braces should appear on an otherwise empty line; however, JAWS may not always read a line of text that consists solely of a bracket or brace.

Related Documentation

For more information, see these Oracle Migration Workbench resources:

To download free release notes, installation documentation, white papers, or other collateral, please visit the Oracle Technology Network (OTN). You must register online before using OTN; registration is free and you can do it at:

If you already have a user name and password for OTN, then you can go directly to the Migration Workbench documentation section of the OTN Web site at:


This section describes the conventions used in the text and code examples of the this documentation. It describes:

Conventions in Text

We use various conventions in text to help you more quickly identify special terms. The following table describes those conventions and provides examples of their use.

Convention Meaning Example


Bold type indicates GUI options. It also indicates terms that are defined in the text or terms that appear in a glossary, or both.

The C datatypes such as ub4, sword, or OCINumber are valid.

When you specify this clause, you create an index-organized table.


Italic typeface indicates book titles, emphasis, syntax clauses, or placeholders.

Reference Guide

Run Uold_release.SQL where old_release refers to the release you installed prior to upgrading.

UPPERCASE monospace (fixed-width font)

Uppercase monospace typeface indicates elements supplied by the system. Such elements include parameters, privileges, datatypes, RMAN keywords, SQL keywords, SQL*Plus or utility commands, packages and methods, as well as system-supplied column names, database objects and structures, user names, and roles.

You can specify this clause only for a NUMBER column.

You can back up the database using the BACKUP command.

lowercase monospace (fixed-width font)

Lowercase monospace typeface indicates executables and sample user-supplied elements. Such elements include computer and database names, net service names, and connect identifiers, as well as user-supplied database objects and structures, column names, packages and classes, user names and roles, program units, and parameter values.

Enter sqlplus to open SQL*Plus.

The department_id, department_name, and location_id columns are in the hr.departments table.

Conventions in Code Examples

Code examples illustrate SQL, PL/SQL, SQL*Plus, or other command-line statements. They are displayed in a monospace (fixed-width) font and separated from normal text as shown in this example:

SELECT username FROM dba_users WHERE username = 'MIGRATE';

The following table describes typographic conventions used in code examples and provides examples of their use.

Convention Meaning Example

Square Brackets [ ]

Indicates that the enclosed arguments are optional. Do not enter the brackets.

DECIMAL (digits [ , precision ])

Curly Braces { }

Indicates that one of the enclosed arguments is required. Do not enter the braces.


Vertical Line |

Separates alternative items that may be optional or required. Do not type the vertical bar.



Ellipses ...

Indicates that the preceding item can be repeated. You can enter an arbitrary number of similaritems. In code fragments, an ellipsis means that code not relevant to the discussion has been omitted. Do not type the ellipsis

CREATE TABLE ... AS subquery;

SELECT col1, col2, ... , coln FROM employees;


Indicates variables that you must supply particular values.

CONNECT SYSTEM/system_password


Uppercase text indicates case-insensitive filenames or directory names, commands, command keywords, initializing parameters, data types, table names, or object names. Enter text exactly as spelled; it need not be in uppercase

SELECT last_name, employee_id FROM employees;


DROP TABLE hr.employees;


Lowercase words in example statements indicate words supplied only for the context of the example. For example, lowercase words may indicate the name of a table, column, or file.

SELECT last_name, employee_id FROM employees;

sqlplus hr/hr

Go to previous page Go to next page
Copyright © 1998, 2002 Oracle Corporation.

All Rights Reserved.
Go To Documentation Library
Go To Product List
Book List
Go To Table Of Contents
Go To Index

Master Index