Want to migrate from Oracle to MySQL ?
Try Withdata DBCopier, a Oracle to MySQL converter for Windows, Mac, and Linux, Migrate Oracle to MySQL, Easy and Fast.
- Step by Step, just a few mouse clicks.
- Create MySQL tables with auto mapping data types. Create MySQL indexes.
Download Withdata DBCopier
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
Migrate from Oracle to MySQL
Login to Oracle -> Login to MySQL -> Select tables to migrate -> Migrate from Oracle to MySQL
Choose source Oracle database and logon.
Choose target MySQL database and logon.
Click “Wizard – Import All Tables” at task dialog.
then show the wizard.
1. Open source Oracle.
2. Set “Import Type”.
3. Select MySQL tables to migrate.
4. Migrate from Oracle to MySQL.
Create MySQL tables. Copy Oracle data to MySQL. Create MySQL indexes.
FAQ
More about Oracle to MySQL converter
Download Withdata DBCopier
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit
See also:
Oracle → MySQL reference
Type mapping
| Value kind | in Oracle | in MySQL |
|---|---|---|
| Int | NUMBER(10) | INT |
| Bigint | NUMBER(19) | BIGINT |
| Decimal | NUMBER(p,s) | DECIMAL(p,s) |
| Float | BINARY_DOUBLE | DOUBLE |
| Text | VARCHAR2(n) | VARCHAR(n) |
| Long text | CLOB | LONGTEXT |
| Datetime | TIMESTAMP | DATETIME |
| Binary | BLOB | LONGBLOB |
| Boolean | NUMBER(1) | TINYINT(1) |
| JSON | CLOB | JSON |
Dialect differences
Both Oracle and MySQL are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.
| Property | in Oracle | in MySQL |
|---|---|---|
| port | 1521 | 3306 |
| identifiers | "double quotes" | `backtick` |
| row limit | FETCH FIRST n ROWS ONLY | LIMIT n |
| dates | DATE, TIMESTAMP | DATETIME, TIMESTAMP, DATE, TIME |
| long text | CLOB, NCLOB | TINYTEXT / TEXT / MEDIUMTEXT / LONGTEXT |
| binary | BLOB, BFILE | BLOB / TINYBLOB / LONGBLOB |
Command line
| Side | Command |
|---|---|
| Oracle | exp / expdp |
| MySQL | mysqldump, or mysql -e "SELECT ..." > out.csv |
| MySQL (load) | mysqlimport, or LOAD DATA INFILE |
| Oracle (load) | sqlldr (SQL*Loader) |
Convert your data online, free
Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.