Migrating MySQL 5 Database entirely to Oracle 9i

Please help me out in migrating MySQL 5.0.19-nt Database to Oracle 9i. I am using sqldeveloper-1.2.2998 as migration tool. The plugin used is mysql-connector-java-5.0.6.jar. I am facing issues while migrating Stored Procedures, Functions, and views. Kindly resolve the issue. I am using Microsoft Windows XP SP2 platform. My Oracle database is of version 9.2.0.1.0.
Please expedite.
Regards
Vijay Kumar.K

Hello Sir,
At the outset, I would like to convey my regards for extending your support to resolve the issue.
My objective is to migrate MySQL 5 database entirely to Oracle 9.2.0.1.0 database.
I have been using SQLDeveloper 1.2.2998. as migration tool. The Plugin is mysql-connector-java-5.0.6.jar. The steps which I followed for Migration are as follows.
1. Create a New connection for source database for MySQL
2. Create a New connection for target database for Oracle
3. Create Repository for Target database.
4. Associate Repository
5. Quick Migrate
I was able to migrate all the tables. But Views, Procedures, Functions and Triggers were not effected in the oracle database. While I found by selecting the procedures in the Converted Model that the syntax remained same as of MySQL. I raised the issue in Oracle Metalink. They have filed a Bug 6275523. But the issue is very sensitive to our business due to time frame as the alternative is only manual migration. Please do help me in this issue of migrating Stored procedures, Views, Functions and triggers into Oracle.

Similar Messages

  • Migrating mysql 5.0.45 to Oracle 11g

    I am usign SQL developer 1.5 on Ubuntu Hardy . I am able to capture and convert model , but when I try to generate oracle DDL ,, generate ORACLE SQL box only show 11 sequences .
    I have 94 tabkles , 154 indexes ...etc. I tried using Sun 1.5 and Sun 1.6 JVM. When I look at the sql file on my linux box , it only has statement to create user and 11 sequeces I am unable to figure out what is going on . Can some one please explain.
    This is how I installed SQL developer
    Down loaded sqldeveloper1.5 for Redhat
    Used alien to convert it to Debian
    dpkg -i the package
    Installed JVM through spt-get install jvm
    Anyhelp is appreciated
    Thanks
    Vipul

    Hello Sir,
    At the outset, I would like to convey my regards for extending your support to resolve the issue.
    My objective is to migrate MySQL 5 database entirely to Oracle 9.2.0.1.0 database.
    I have been using SQLDeveloper 1.2.2998. as migration tool. The Plugin is mysql-connector-java-5.0.6.jar. The steps which I followed for Migration are as follows.
    1. Create a New connection for source database for MySQL
    2. Create a New connection for target database for Oracle
    3. Create Repository for Target database.
    4. Associate Repository
    5. Quick Migrate
    I was able to migrate all the tables. But Views, Procedures, Functions and Triggers were not effected in the oracle database. While I found by selecting the procedures in the Converted Model that the syntax remained same as of MySQL. I raised the issue in Oracle Metalink. They have filed a Bug 6275523. But the issue is very sensitive to our business due to time frame as the alternative is only manual migration. Please do help me in this issue of migrating Stored procedures, Views, Functions and triggers into Oracle.

  • Migrating MySql version 4.x to oracle 9.2.x

    Hi,
    I am trying to migrate MySql DB version 4.x to oracle 9.2.x. I have gone thru OMWB installation doc and installed OMWB and Plugin as explained.
    Below are the steps I have performed so far
    1) Downloaded OMWB.zip from otn website for Windows.
    2) Unzipped it under C:\
    3) Downloaded plugin MySql4.zip and renamed it to mysql.jar file.
    4) Copied mysql4.jar to C:\omwb\plugin directory
    5) Ran omwb.bat file
    6) Able to create oracle repository for migration workbench but I am receiving below message "No plugins are installed. Please install the plugin for the database you want to migrate".
    I have tried to uninstall and re-install several times but no success.
    I appreciate if someone can help in troubleshooting the problem.
    Thanks

    Based on your description above, are you sure renamed the plugin to MySQL4.jar?
    Donal

  • How Migrate MySql Database to Oracle

    Hi...
    I like Migrate MySql Database to Oracle, can help me?
    Alexandre

    I am trying to migrate a MySql to an Oracle database. I have not had any problem setting up the migration workbench.
    What I am having a problem with is copying the source database to the Oracle DB - I have verified that the host name is correct - and the MySql is at the default 3306 port number.
    What my problem is that the root user on the Linux server is not the user with DBA priviliges - instead a user called admin is the user on the linux box that has DBA priviliges.
    Is my only way around trying to get the root user assigned DBA priviliges in order for this extract to succesfully happen - and if so, how do I go about assigining DBA priviliges on the MySql database to the root user?
    Any help will be appreciated.
    Thanks

  • Migrating MySql Database to Oracle

    Hello,
    I want to migrate my MySql database completely to Oracle database. Is there any methods or tools to do it fast
    Regards
    Mujeeb ur Rahman

    Have a look at Oracle's Migration Workbench on OTN
    http://www.oracle.com/technology/tech/migration/workbench/index.html

  • Migrate MySQL db to Oracle with SQL Developer / Migration Workbench

    I'm having a problem migrating a MySQL database to an Oracle database. I can make the connection to the MySQL database and query the data, but I can't do the migration.
    When I right-click on the MySQL schema, "Capture Schema" is greyed out. Same problem with clicking on an individual table. Also, the menu item "Migration --> Migrate" is greyed out.
    Can you help?

    Yes, I created a repository. And after your question, I clicked on the repository and was able to get the Migrate Data option for the first time. Thank you!
    Before I had been choosing the source database, which wouldn't allow me to choosse the Migrate Data option no matter what I did.
    Thanks for pointing out the obvious!
    BJ

  • Migration mysql to Oracle thr SQL Developer 1.2

    Customer using SQL Developer migrate MySQL4.1.22 database data to
    Oracle 9206 database. Capture and Convert completed but it hang during
    generate stage.
    Customer follow steps published in otn.oracle.com.
    1-2 steps
    Create a schema and user, named "club" on oracle ,as same as the user in
    mysql database, and with sufficient tablespace size.
    Capture the Mysql DB, and get the Capture Model.
    Convert to oracle model, and get the Converted Model.
    Capture Mysql and Convert to oracle model are successful,
    3rd steps
    Generate failed, and no error logs, the new windows can't failed to continue.
    Generating Oracle SQL
    Object Type No of Objects Generated
    User 1
    Schema 1
    Sequence 36
    Table 1
    Generation Failed.
    mysql DB is linux as 4
    oracle DB is linux as 4
    Appreciated for any suggestion.
    Thanks,
    Michael.

    Can you tell which version of SQL Developer are you using. Also it seems that generate is not hanging but fails at some stage. Hence you are getting the failure message. Please check if anything is displayed in Log window or console.
    - Rakesh

  • My Experiences re: Migrating SQL Server Database to Oracle

    I am using SQL Developer EA4 for thsi conversion, best attempt yet.
    I had numerous problems with this conversion.
    1. The wizard asked me to specify the new Oracle database; instead it just ignored this information and created an Oracle database similarly named as the SQL Server database. I also noticed a file name "Migration.out" was produced; it contained errors such as:
    Error starting at line 3 in command:
    CREATE USER Emulation IDENTIFIED BY Emulation DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
    Error at Command Line:3 Column:36
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges" and
    Error starting at line 4 in command:
    GRANT CREATE SESSION, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW, CREATE SYNONYM,CREATE PUBLIC SYNONYM TO Emulation
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges" and
    Error starting at line 7 in command:
    CREATE USER dbo_COREv13 IDENTIFIED BY dbo_COREv13 DEFAULT TABLESPACE USERS TEMPORARY TABLESPACE TEMP
    Error at Command Line:7 Column:38
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges" and
    Error starting at line 8 in command:
    GRANT CREATE SESSION, RESOURCE, CREATE VIEW, CREATE MATERIALIZED VIEW, CREATE SYNONYM TO dbo_COREv13
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges".
    I followed all of the steps listed in the "Help" section re: Migrations but still ended up with these errors.
    2. My schema consists of 1000+ tables; approximately 10 tables were NOT created. When I copied the SQL from Migration.sql making NO changes and pasted it into the new Oracle database it created without issues.
    3. While the conversion is taking place, different objects (constraints, indexes, foreign keys, etc) are shown to be copied; their appears to be ordering of these items. Shouln't a dependancy tree be established, and object converted based on this?
    4. Several tables, in my case about 250 tables did NOT get any data copied across. No reasons given.
    5. A log of all activities should be produced for review and completeness.
    6. I tried to use the "Migrate select tables" option but met with no success. Apparently, it makes an assumption that both the "source" and "target" databases wil be of the same type (ie both SQL Server or both Oracle); this does not make any sense to me since the point of the exercise is to migrate data from one database vendor to another. Obviously, different database vendors use differing datatypes for similar data (ie dates).
    7. I noticed in the "Migration" sql that the "Connect" statements are not correct; they were missing the "instance name" portion.
    8. Also, when I looked in the "MIGRATION" sql, I could not find any entries for the last step of the conversion - the movement of data from SQL Server to Oracle. Is this intentional or an oversight.
    I dont want to appear negative on this Migration; I have used SQL Developer since it inception; in my opinion this is the best attempt to date.
    Murray Sobol

    Hi Murray,
    Thanks for this feedback.
    There is a lot of questions here, I think some of it boils down to misunderstandings, which we should clarify in the doc.
    Hopefully Ill get a video of a migration online soon as well.
    But here is a brief break down.
    *1.*
    "The wizard asked me to specify the new Oracle database; instead it just ignored this information and created an Oracle database similarly named as the SQL Server database."
    So this relates to Step 7 of the Migration Wizard. Where you can select the target connection.
    SQL Developer doesn't ignore the Target Connection you selected, It just uses it to connect to the target database , not the target schema.
    SQL Developer generates a new target schema for the migrated objects. It standard approach is not to generate objects directly into an existing Schema.
    The Target Connection is used to create all the migrated objects (including new Oracle Schemas) in your target oracle database. So you should choose an Oracle Target Connection which has enough privileges to create new Schemas and Objects.
    But as you have found, it doesn't generate the migrate objects , like tables, ... , directly into your chosen Target Connection.
    From the errors you encountered it doesn't sound like the Target Connection (and the underling Oracle Schema) doesn't have the privileges to create other Schemas.
    If you use something like a connection to the SYSTEM schema on your target database, it should run OK.
    It wont create any objects in SYSTEM, rather it will use SYSTEM privileges to create a new schema (ex: dbo_Northwind) and populate it.
    You don't have to use SYSTEM, but you do need a schema with enough privileges to create other schemas.
    That is the straight forward way. But if you really need to generate into an existing schema the following steps can be taken.
    a)rename the schema under the Converted Database Objects
    b)Right click "Converted Databases Objects" and choose generate. it will kick off the Migration Wizard in the correct place
    *2.*
    My schema consists of 1000+ tables; approximately 10 tables were NOT created. When I copied the SQL from Migration.sql making NO changes and pasted it into the new Oracle database it created without issues.
    When you say Migration.sql , is the entire generation file , which can be found in your <outputspecified>/generated/<projectname.modelname>.sql ?
    When your say "pasted it into the new Oracle database" , are you running it in SQL Developers SQL Worksheet using the Target Connection.
    Basically your migration is all out of shape once the target Schemas are not created. So the above issues (insufficient privileges) has to be resolved first.
    Please post back if it is still an issue.
    *3.*
    While the conversion is taking place, different objects (constraints, indexes, foreign keys, etc) are shown to be copied; their appears to be ordering of these items. Shouln't a dependancy tree be established, and object converted based on this?
    Objects are converted in a particular order and their dependencies are persisted so that they can be generated in the correct order.
    Are you seeing an issue?
    *4.*
    Several tables, in my case about 250 tables did NOT get any data copied across. No reasons given.
    I'm surprised any tables were populated with data due to the target schema not being created.
    The online data move is pretty simple and it does not report or recover very well from issues.
    If you are having difficulties once item 1. is resolved, please post an example of the source table and I will give it a go.
    For better control of the data move with much more powerful tweaking, error handling, reporting and performance try the offline data move.
    SQL Developer can created a suite of scripts which use SQL Servers BCP tool to dump out the data to dat files, and Oracle SQL*Loader tool to insert the data in the dat file into Oracle.
    *5.*
    A log of all activities should be produced for review and completeness.
    The output/generated/<projectname.modelname>.out provides the output of running the generation script.
    The migration reports http://dermotoneill.blogspot.com/2010/11/migration-reports-30.html outline what happens during the migration.
    Apart from online data move issues, is there any other data missing?
    *6.*
    I tried to use the "Migrate select tables" option but met with no success. Apparently, it makes an assumption that both the "source" and "target" databases wil be of the same type (ie both SQL Server or both Oracle); this does not make any sense to me since the point of the exercise is to migrate data from one database vendor to another. Obviously, different database vendors use differing datatypes for similar data (ie dates).
    Do you mean "Copy To Oracle" ? This option is intended to migrate tables from non Oracle databases like SQL Server to Oracle.
    Can you give more details on what issue you are seeing.
    *7.*
    I noticed in the "Migration" sql that the "Connect" statements are not correct; they were missing the "instance name" portion.
    The generation script is meant to be run using SQL Developers SQL Worksheet. I think you only get this "instance name" issue if running from SQL*Plus.
    Can you confirm
    8. Also, when I looked in the "MIGRATION" sql, I could not find any entries for the last step of the conversion - the movement of data from SQL Server to Oracle. Is this intentional or an oversight.
    The online data move is performed separately from creating the objects. It is not script based, it uses JDBC to pump the data from the source database to the target database.
    In summary , I would
    a) Create a connection to your Target database using your SYSTEM schema
    b) Right click on your "Converted Database Objects" and choose "Generate Target"
    c) Choose your new "System" connection as the Target Connection
    d) Follow the Migration Wizard to the end.
    You will end up with a new target Schema and the migrated objects in it.
    Check the .out file to see the errors
    and the migration reports http://dermotoneill.blogspot.com/2010/11/migration-reports-30.html
    Regards,
    Dermot
    SQL Developer Team.

  • Migrating from Pick Database to Oracle 8i database

    We are investigating the possiblility of exporting the entire contents of a pick database into an Oracle 8i database. Can you suggest any resources needed or utilities needed to perform this?
    thanks in advance
    warren

    If Access2000 allows you save the database as an access97 database then you can use the Oracle Migration Workbench to do the conversion. Sorry, Im not the Access expert so I can't say for sure whether the save as 97 option is shipped with 2000. I'll look into it and post a definitive answer tomorrow.
    Regards
    Brian.

  • ORA-01461 error when migrating MySQL -- Oracle table data

    All,
    I'm migrating MySQL 4.x to Oracle10g. Everything went smoothly except for one table was unable to migrate data, giving me the following error:
    Unable to migrate data from source table mysql.mytable to destination table root.MYTABLE :
    ORA-01461: can bind a LONG value only for insert into a LONG columnThe offending source column in MySQL is defined as TEXT. In OMWB it is TEXT (5). The Oracle model originally defined it as VARCHAR2(1), but I resized it to VARCHAR2(4000) since it contains about 20 lines of text.
    Neither the mysql or the oracle data models have a LONG column anywhere. Any idea's what might be causing this error?
    Thanks.

    Hi Jon,
    Thanks for the feedback. I'm unable to reproduce the problem you describe at the moment - if I try to migrate a TEXT(5), OMWB creates a VARCHAR(5) and the data migrates correctly!! However, I note from you description that even though the problematic source column datatype is TEXT(5), you mention that there are actually 20 lines of text in this field (and not 5 variable length characters as the definition might suggest).
    Having read through some of the MySQL reference guide I note that, in certain circumstances, MySQL actually changes the column datatype specified either at table creation time or when interfacing with other databases ( ref 14.2.5.1 Silent Column Specification Changes and 12.7 Using Column Types from Other Database Engines in the MySQL reference guide). Since your TEXT(5) actually contains 20 lines of text, MySQL (database or JDBC driver .... or both) may be trying to automatically map the specified datatype of the column to a datatype more appropriate to storing 20 lines of text.... that is, to a LONG value in this case. Then, when Oracle is presented with this LONG value to store in a VARCHAR(5) field, it throws the ORA-01461 error. I need to investigate this further, but this may be the case - its the first time I've see this problem encountered.
    To workaround this, you could change the datatype of the column to a LONG from within the Oracle Model before migrating. Any application code that accesses this column and expects a TEXT(5) value may need to be adjusted to cope with a LONG value. Is this a viable workaround for you?
    I will investigate further and notiofy you of any details I uncover. We will need to track this issue for possible inclusion in future development plans.
    I hope this helps,
    Regards,
    Tom.

  • Need help in migrating MSSQL 2008 database to Oracle 11g

    Hi everyone,
    So, as stated above I want to migrate our apps database from mssql to oracle as it is what the client wants..
    I have absolutely no experience working with Oracle.
    My computer is running windows 7 32 bit, our DB people installed a 9i client for me to connect to the server and the my SQL Developer just came straight from the site. (So it's the latest release)
    I have one "DBA" access to the database I'm trying to migrate to.
    I've downloaded the Oracle SQL Developer and have been attempting to "migrate" our database using the migration tool for 3 days now, but to no avail.
    So the error I'm encountering is that the migration just stops, and a popup with the message "Migration actions have failed. Check the migration reports for details. : The connection is closed." comes up.
    I have no idea where the migration report can be found. As I cannot find it in the reports tab available.
    I'm hoping someone here can have the patience and knowledge to get me through this?

    The migration report is generally created under the "Documents and Settings" folder under application data/sqldeveloper. Key thing is at what stage the failure occurs?. Does it happen immediately after you start the data migration or after a while?.
    If the data migration process fails immediately after the start then there might be an issue with permissions on the source/target databases. Probably it is having trouble with disabling constraints on the target database. Because rememeber SQL Developer will disable constraints before it moves data across. My preference is to give DBA privilege to the Oracle user to avoid just cases or you can disable the constraints yourself by using scripts. Check the source/target database date/time format masks. You can set them up in SQL Developer.
    If the data migration process fails after a while and you notice that data for some tables is migrated then you may be running into network timeouts or space issues on Oracle etc.
    HTH
    Regards
    Prakash

  • Migrating MS access database to oracle

    hi
    Please let me know what are the steps to follow to migrate data from MS acess to oracle or any other databases tell me the steps one by one right from loadiing migration assistant etc

    Hello,
    To download and install the Oracle Migration Workbench and MSAccess plugin, you should select the downloads page from the following URL:
    http://otn.oracle.com/tech/migration/index.html.
    The download page will give you full details on how to install the product correctly (it is very easy to do this!).
    Once you have installed the product, you can access the user guide and reference guide from the Help menu option wothin the product. These documents (especially the user guide) will bring you through a successful migration step by step.
    The URL above also contains links to many other sources of information on migrations and you may find some of these useful.
    I hope this helps,
    Tom.

  • Create a Database Link from Oracle to MYSQL on windows

    Hi
    I need to create a database link from oracle to mysql database on windows to fetch some records.Can anyone help me on this?

    Search for Transparent Gateways, Heterogeneous Services...
    The Oracle SQL Developer have drivers to Access, MySQL and SQL Server.

  • Migrating SQL Server database to Oracle 8i - any known issues

    Hi,
    I am in the process of migrating SQL Server database to Oracle 8i for testing purpose.
    When I do migrate SQL Server database to Oracle 8i, am I doing any harm to the exiting
    SQL Server database? Would the users be able to use SQL Server database as usual?? Are
    there any known issues in this regard?
    Please reply.
    Thanks.
    Ramesh

    Hi,
    I am in the process of migrating SQL Server database to Oracle 8i for testing purpose.
    When I do migrate SQL Server database to Oracle 8i, am I doing any harm to the exiting
    SQL Server database? Would the users be able to use SQL Server database as usual?? Are
    there any known issues in this regard?
    Please reply.
    Thanks.
    Ramesh Hi Ramesh!
    The Migration Workbench does not make any modifications to the SQL Server database. It only reads information from it. Your users should be able to use the SQL Server database as usual.
    Please note however that if you migrate the data over to Oracle using the Migration Workbench and your users continue to enter/update data in the exiting SQL Server database then you may need to move all that data over again in order to have the most up to date data in the Oracle database.
    thanks
    - Garry

  • Migration of Informix Database to Oracle

    I'm currently looking for a migrationtool to migrate an Informix
    Database running with SAP R/3 applikation to a oracke database
    running under SAP R/3.
    Is the Oracle Migration Workbench able to handle such a request.
    Thanks in advanced
    Cheers Chris
    null

    Chris,
    Presently the Workbench does not migrate from Informix,
    however there are a series of script based tools that presently
    exist that may be of help. They are available for download from
    OTN, under the Migration Toolkits section under Migration
    Workbench.
    Regards,
    Marie
    Christof Hagemann (guest) wrote:
    : I'm currently looking for a migrationtool to migrate an
    Informix
    : Database running with SAP R/3 applikation to a oracke database
    : running under SAP R/3.
    : Is the Oracle Migration Workbench able to handle such a
    request.
    : Thanks in advanced
    : Cheers Chris
    Oracle Technology Network
    http://technet.oracle.com
    null

Maybe you are looking for

  • How do I make After Effects files in Windows 7 open in AE CS5 instead of the default CS5.5?

    I have AE 5.5 and 5 installed on a Windows 7 machine and I'd like .AEP files open in CS5 by default. I've tried using windows explorer to specify using the CS5 program but it defaults back to CS5.5 I've tried using Bridge CS5 and CS5.5 Edit/Preferenc

  • Setting Scale and Units in a PDF document

    Hi, I have a batch of architectural plans in PDF format. They have been generated from Autocad. When I want to make measurements on them, I need to specify the scale in the dialog box. In the Preferences > 2D Measures, there is an option tu use the d

  • ORA-21700 in re-creating ADT for OLAP_TABLE

    I'm trying to create a script that can automate the process of generating abstract data types for use in an OLAP_TABLE function. I'm following the examples in the documentation. Everything runs great the FIRST time I run my script, but when I drop my

  • Changes to portlet aren't updated

    I have created a portlet from a URL application component. which displays the called page. When I update the called page, the changes aren't reflected in the portlet. I've tried the following: 1. Login to portal as an admin user(example: portal30) 2.

  • Field Naming convention..

    Hi, I recently purchased Acrobat Designer 7.0 and found that the fields are named in the following convnetion - F[0].P1[0].A1[0] while I named the field as A1 only. I am using a third party driver to read the PDF file to set values and it is not able