Migration from MySQL 5 to Oracle 10g

Hi All,
I'm currently trying to migrate a MySQL database to Oracle and have encountered a few issues, it appears to work fine for most of the tables, with a few errors occurring in the logs for other tables, but they look to be related to connection issues that I am encountering. Both the MySQL and Oracle Database are installed locally on my machine. Below is the exception. Any ideas why the migration would be working perfectly and then encountering the below problems?
Any help would be greatly appreciated. Thanks in advance. Also, should anyone need any further information regarding my system setup etc. don't hesitate to ask.
java.sql.SQLException MESSAGE: Communication link failure: java.io.EOFException, underlying cause: null ** BEGIN NESTED EXCEPTION ** java.io.EOFException STACKTRACE: java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1395) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:1571) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1930) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1907) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:998) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:305) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326) at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225) at com.mysql.jdbc.Connection.execSQL(Connection.java:2278) at com.mysql.jdbc.Connection.execSQL(Connection.java:2225) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** STACKTRACE: java.sql.SQLException: Communication link failure: java.io.EOFException, underlying cause: null ** BEGIN NESTED EXCEPTION ** java.io.EOFException STACKTRACE: java.io.EOFException at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1395) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:1571) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1930) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1907) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:998) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:305) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326) at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225) at com.mysql.jdbc.Connection.execSQL(Connection.java:2278) at com.mysql.jdbc.Connection.execSQL(Connection.java:2225) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION **
Kindest regards,
Harry

Hi,
Unfortunately now I am receiving a slightly different error, relating to the connection being closed due to a seemingly bad response from the MySQL server, where it expected a larger value than received. I have updated the Third Party JDBC drivers to the latest available.
The connection appears to drop and stop the data migration process, and it appears that this has stopped sooner than my previous attempt. Any help/advice would be greatly welcomed. I'll continue to investigate this on the web, but would assume this is the best possible resource for resolving these kind of problems.
Below is the stack trace received in the migration logs:
It is a particularly large one (sorry)
Failed to move data: No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error: ** BEGIN NESTED EXCEPTION ** com.mysql.jdbc.CommunicationsException MESSAGE: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException MESSAGE: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. STACKTRACE: java.io.EOFException: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2464) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** Last packet sent to the server was 88935 ms ago. STACKTRACE: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException MESSAGE: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. STACKTRACE: java.io.EOFException: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2464) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** Last packet sent to the server was 88935 ms ago. at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2622) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION **
Failed to get source row count. Proceeding with unknown (No operations allowed after connection closed.Connection was implicitly closed due to underlying exception/error: ** BEGIN NESTED EXCEPTION ** com.mysql.jdbc.CommunicationsException MESSAGE: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException MESSAGE: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. STACKTRACE: java.io.EOFException: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2464) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** Last packet sent to the server was 88935 ms ago. STACKTRACE: com.mysql.jdbc.CommunicationsException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException MESSAGE: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. STACKTRACE: java.io.EOFException: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2464) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** Last packet sent to the server was 88935 ms ago. at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2622) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** )
== 2nd Stack Trace received further down in the logs before the process bombs out altogether from the lack of response from the MySQL database ==
Failed to move data: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.io.EOFException MESSAGE: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. STACKTRACE: java.io.EOFException: Can not read response from server. Expected to read 23,493 bytes, read 9,268 bytes before connection was unexpectedly lost. at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:1997) at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:2464) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2916) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:885) at com.mysql.jdbc.MysqlIO.nextRow(MysqlIO.java:1360) at com.mysql.jdbc.MysqlIO.readSingleRowSet(MysqlIO.java:2369) at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:451) at com.mysql.jdbc.MysqlIO.readResultsForQueryOrUpdate(MysqlIO.java:2076) at com.mysql.jdbc.MysqlIO.readAllResults(MysqlIO.java:1451) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1787) at com.mysql.jdbc.Connection.execSQL(Connection.java:3277) at com.mysql.jdbc.Connection.execSQL(Connection.java:3206) at com.mysql.jdbc.Statement.executeQuery(Statement.java:1232) at oracle.dbtools.migration.datamove.online.DataMoveDrone.doDataMove(DataMoveDrone.java:359) at oracle.dbtools.migration.datamove.online.DataMoveDrone.run(DataMoveDrone.java:230) at java.lang.Thread.run(Thread.java:595) ** END NESTED EXCEPTION ** Last packet sent to the server was 88935 ms ago.
Thanking you in advance.
Kindest regards,
Harry

Similar Messages

  • DB Migration from MYSQL to ORACLE Using Offline Capture

    Hi
    Am doing a database migration from MySQL to Oracle using SQL Developer (version 2.1.1.64). So far, I've successfully captured the MySQL database and converted it to the Oracle Model. However, when generating offline scripts to create the converted model schema into Oracle DDL scripts it managed to generate SQL to create: 1) User 2) Sequences 3) Tables 4) Triggers and 5) constraints.
    It has created the SQL to add the primary key constraints and index constraints. Although it did the foreign key constraints in the SQL, the foreign key constraints seems to have missed the cascading options for the foreign key constraint. I.e. theres no reference of whether the foreign key constraint will restrict on delete or cascade etc.
    We have a foreign keys in the MySql database that have different cascading options and these have not being ported over into the migration SQL. Therefore, all the foreign keys generated in the SQL by default are cascade to restrict on delete.
    Does 'Generate Oracle DDL' not take into account a foreign key's on delete cascading option?
    Any help or information would be greatly appreciated.
    Thanks

    Hello,
    that reminded me for the following thread:
    Migration Microsoft SQL Sever 2005 to Oracle 11g cascade on delete problem
    That is a similar issue, isn't it?
    I opened a bug for that, and it will be fixed in SQL Developer 3.1 (not in any 3.0 Early Adopter version). If you hit the same issue, there is no other way then using the workaround as used in the mentioned thread.
    Regards
    Wolfgang

  • Migrating from MySQL to Oracle 11g

    can u tell me the steps to migrating database from MySQL to Oracle using SQL Developer?
    I have installed Oracle 11g(11.1.0.6.0) in server and SQl Developer in my local system.
    I connected to MySQL and Oracle in SQL Developer and tried to MIgrate everything in MySQL to Oracle using Quick Migrate option.
    it took one and half day but didn't work at last...
    is there any pre tasks that i need to do before migrating to oracle from MySQL?
    and also when i export the MySQL data to Oracle using SQL Developer,it is giving data type mismatch errors like (date, boolean etc...).
    please give a reply what i need to do and any refferences also very much appreciated.

    hi Turloch ,
    I followed the steps mentioned above.
    When I right click my MySQL server db Connection and click "Capture MySQL server", it just shows a dialog with "Close" enabled.
    after clicking the close button, it gives following error messages.
    oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238)
    the same error is coming no of times.
    Kindly help me in this regard.

  • Out of memory error in migrating from mysql to oracle

    Hi,
    I'm trying migrate from mysql to oracle9i. The hardware and software requirements are matching or even much higher than mentioned in the documentation. I have installed OMWB is properly(hope so). When I try to migrate the desired database from mysql to oracle, the repository, the Oracle model are created successfully. But while migrating data, say for around 35000 rows insertion everything works pretty fine. But after sometime, the migration stops and no error or anything appears in the screen.And in the Errorlog I get "OutOfMemoryError".
    I tried to migrate single table also. But I still get this problem after sometime. The tables may contain from 10 - 130000 rows...
    I even tried to change the %JRE..% memory value to 64M or 128M in the omwb.bat file and the O/s is Microsoft Windows XP, RAM 256MB.
    Any help is much appreciated.
    Thanks in advance.

    Hi Viji,
    did the message in the error.log provide any extra information? For example, was the OutOfMemory error prefixed with a string
    like "cannot create new native thread" ? My suggestion to workaround the problem would have been to increase the JVM heap size to 128
    but this appears to have been unsuccessful for you. Can you send a mail to the Migration Workbench support services
    ([email protected]) explaining the problem, and attach the full error.log file please ? (please also copy me on the mail).
    In the meantime, you can workaround this by migrating the schema only (there is a switch on step 3 of the migration wizard asking:
    "Do you want to migrate the table data to Oracle?" - just select the "No" option). When the schema has migrated, you can then use the
    offline data loading facility to migrate the data. This uses data extraction scripts and SDQL*Loader to migrate the data to the target
    Oracle database.You can learn more about the offline data loading facility from the plugins referenceguide (from the Help menu in
    the Migration Workbench).
    I hope this helps,
    Tom.

  • How to handle DATE type problems in migrating from mysql to oracle.?

    Hi,
    I'm migrating only the data from mysql to oracle with the help of sql loader.But with this type i cannot able to insert the date values from mysql to oracle.In mysql i have defined date as "DATETIME" type and in oracle it is in TimeStamp.Whenever i'm inserting the values thru CTL file ,i'm getting an error invalid date format entered.How to solve this problem?
    Thanks in Advance
    JAI

    you need to supply a mask to the timestamp entry. see http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_field_list.htm#i1006714 for details on datatypes within the ctl file
    B

  • Migration from DB2 to Oracle 10g using free tools

    Dear all,
    Im currently using DB2 database and wish to migrate data over to Oracle 10g express. However, i could not find any free tools or methods to migrate without using tools as i could not use tools like Oracle Migration Workbench as the migration is for certain project which will deal with internal process or commercial purpose.
    Would like to seek everybody's help. Greatly appreciation your response.
    Regards,
    Kee Cheng =)

    nvr4getu wrote:
    Thanks. But have you heard of creating a heterogenous services, create a database link between the 2 database, then transform over to Oracle?I thought you were looking for a free tool. With HS, you'll have to buy the component to install on the DB2 system. Unless something has changed since the last time I worked in a mixed Oracle/DB2 shop.

  • Migrating from SQL to Oracle 10g -- Oracle Migration Work Bench

    All
    I've come across this tool from Oracle for Migrating SQL and mySQL databases to Oracle 10g. But the procedure and documentation was not clear. I wanted to try this once and hence I am posting here.
    Could you please share your experiences if you have also tried this one already? All your inputs will be of great help in helping me understand this tool and its usage.
    Thank you.
    Regards!
    Sarat.

    Sarat Chandra C wrote:
    All
    I've come across this tool from Oracle for Migrating SQL and mySQL databases to Oracle 10g. But the procedure and documentation was not clear. I wanted to try this once and hence I am posting here.
    Could you please share your experiences if you have also tried this one already? All your inputs will be of great help in helping me understand this tool and its usage.
    Thank you.
    Regards!
    Sarat.Could you please share what specific questions you have? What points of the documentation you found "unclear"?

  • Migrating from MySql to Oracle

    Hi,
    I have installed latest version of SQL Developer with new Extensions (added mysql-connector-java-3.1.14-bin.jar under third-party database extension tab) , also installed latest updates from Help Menu. I have created a database in Mysql and now migrating it to Oracle, while I click on Capture MySQL / Quick MySql migrate... i get error "Error ocurred during capture: ORA-01400: cannot insert NULL into ("ASHISH"."MD_PROJECTS"."ID") ".
    Thanks,
    Ashish Sohane.
    OracleDirect.

    I am having the same problem. I have deleted and recreated the repository many times. I'm getting:
    "SQL Error on Script Execution. Try deleting repository before Creating Repository."
    then
    "The Repository installtaion has failed. Please check the user you are registering and make sure that objects of the same name do not already exist"
    I have closed the connection and reopened, closed SQL Developer and reopened. When I expand Tables, there are NO md_ tables. So it seems the repository deletion is working. But when I try to recreate it, oracle somehow thinks the repository I deleted is still there.... even tho it doesn't show it in the ui.
    Although this thread began w/ someone converting from MySQL i think that is probably irrelevant. We are getting the same errors with the oracle repository. I am converting from MSAccess2003 using SqlDeveloper 1.2.1. I have successfully created the XML and SQL exports from MSAccess using SqlDeveloper\Migration\MicrosoftAccess Exporter\2003

  • "Default " problem while migrating from mysql to oracle.

    I'm migrating from mysql3.23 to oracle9i via the OMWB tool.While migrating i'm getting an error message "Failed to create default for the table <table>:ora00907 missing right parenthesis".This error is due to the difference in the syntax used for the keyword "default" in mysql and oracle.In mysql we have to give after the Not Null option whereas in oracle we have to give before Not Null.
    The problem is i'm migrating via the OWMB tool.Is is possible to handle this error with the help of tool itself.
    Thanks
    Jai.M

    Jai, I'm having Frank have a look at this for you to see if we can replicate it ans help solve this issue for you. are there any issues logged on the mysql site regarding saving blobs as file?
    thanks
    Barry

  • Migrating from MySQL to Oracle 11gR2 containing accented characters

    Hello Gurus,
    I am going to migrate a MySQL database that contains accented characters. The collation of the tables holding these data is utf8_unicode_ci.
    I used SQLDeveloper to generate data migration scripts. After a test migration run, the web pages displays "?" instead of the accented character.
    I am currently tracing where the problem is.
    From what I have read, mysqldump uses utf8 as the default character set, so I assume the accented characters in <tablename>.txt files are in tact.
    Could the problem be on sqlldr? Has anyone come across this problem?
    I really would appreciate any help.
    Thanks

    Hi Srini, thanks for the reply.
    here is the result of select * from nls_database_parameters;
    PARAMETER VALUE
    NLS_LANGUAGE AMERICAN
    NLS_TERRITORY AMERICA
    NLS_CURRENCY $
    NLS_ISO_CURRENCY AMERICA
    NLS_NUMERIC_CHARACTERS .,
    NLS_CHARACTERSET AL32UTF8
    NLS_CALENDAR GREGORIAN
    NLS_DATE_FORMAT DD-MON-RR
    NLS_DATE_LANGUAGE AMERICAN
    NLS_SORT BINARY
    NLS_TIME_FORMAT HH.MI.SSXFF AM
    NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
    NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
    NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
    NLS_DUAL_CURRENCY $
    NLS_COMP BINARY
    NLS_LENGTH_SEMANTICS BYTE
    NLS_NCHAR_CONV_EXCP FALSE
    NLS_NCHAR_CHARACTERSET AL16UTF16
    NLS_RDBMS_VERSION 11.2.0.1.0

  • Migration from Access to Oracle 10g (Problem with migration wizard)

    Hi
    I have an access database which I want to migrate to Oracle DB.
    I have created 2 connections.
    1. Access connection with the source database
    2. Oracle connection.
    I have associated the oracle connection to the repository.
    When I go through 'MIGRATION WIZARD' process. I am not able to view the source database file while capturing. Tried it several times.
    Need a help in this
    Regards,
    Arjun
    Edited by: 919650 on Mar 9, 2012 2:47 AM

    Arjun,
    you cannot do an online migration with MS Access as you can do with other foreign datasources. You can only do an offline migration.
    The first step that you need to do is to call the Microsoft Access Exporter. Click on Tools - Migration - Microsoft Access Exporter and chose the exporter of the MS Access version that you are using.
    The exporter creates an xml file for you. After the exporter has finished you can do the migration, click on Tools - Migration - Migrate, but in Step 4 please select "Offline", and then you can select the xml file that the exporter has created. The following steps in the Migration assistant are then doing the migration for you.
    You might also want to read the chapter "Before Migrating From Microsoft Access" in the online help of SQL Developer.
    Regards
    Wolfgang

  • DB Migration from SAPDB to Oracle 10g - Archive access after migration?

    Hi!
    Our customer plans to move his SAP system landscape from one Service Provider to another. During this not only new hardware is used but also a DB migration will be done using the procedure described in the SAP System Copy Guide (SAPDB -> Oracle - Offline Export in source system,
    Import in target system).
    SAPSID and client will be the same in the new environment, but of course HW key, IP-adress, Server name, Domain name and obviously Installation no. will change. SAP Note 153433 as well as System Copy Guide do not completely clearly tell me, whether we will face problems when trying to access our archived data after the migration. It's not completely clear to me, how the Archive References are
    built: Only using SAPSID and client? Then everything should be okay, because here we plan no changes.
    So do we have to face any problems when trying to access and/or reload the archived files and objects after the movement to the new service provider? Are there any pitfalls concerning archviving and archive access we have to take in mind?
    Add. info: The archvied files and objects are stored in an IBM Common Store which will be moved physically from location A to B. So here nothing changes.
    Thanx in advance for any hint.
    BTW: SAP Notes 153433, 460620 and 53068 were already studied. SAP support said this is a consulting issue ... ;-(
    Regards,
    Volker Kolberg

    Hi Volker,
    I haven't worked much on archiving, however Archived files are flat files ( I think) and hence these files should be common for all databases.
    However a good strategy is to first test. I think you must have already thought about it however still here is what you could do.
    Take system copy of the system you want to migrate ( you could choose a development system where there is not much data)
    Delete data the production clients in the copied system.
    Archive some data using object something like WORKITEM which is harmless workflow object.
    Migrate the system and try to reload the object
    Hope that helps.
    Regards,
    Siddhesh

  • Migration from Oracle9i to Oracle 10g

    Hi All,
    Is anyone aware of exact differences between Oracle 9i and 10G?
    Can some one point me to any URL where I can find exact list of difference between Oracle 9i and 10G?
    Thanks in advance.
    Regards
    Ninad K

    Hi,
    There are so many differences.
    You can start to have a look to the doc: Oracle® Database New Features Guide 10g Release 2 (10.2)
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14214/toc.htm
    I hope it helps you.
    Regards
    Mireille

  • Problems using Quick Migrate in SQL Developer 1.5 for MySQL to Oracle 10g

    Hi all,
    I am trying to use SQL Developer 1.5 migration tools (Quick Migrate) to perform online capture and build source model to migrate from MySQL 5.x to Oracle 10g on Windows platform. I get these errors and the Quick Migrate process fails:
    oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238)
    I did a search and used the sqldeveloper.cmd script but still fails. Then I created a new database and truncated the repository. I now get the above error plus two new ones listed below:
    oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
    Error loading nls:OALL8 is in an inconsistent state
    Error occurred during capture: Protocol violation
    It fails during the capture process for MySQL 5.1 database
    when it begins to capture the tables from MySQL.
    Does anyone know how to resolve these issues when migrating from MySQL to Oracle 10g using Quick Migrate with SQL Developer 1.5 release?
    Regards,
    Ben Prusinski
    Message was edited by:
    benprusinski
    Message was edited by:
    benprusinski

    Hi all,
    I put the following in my sqldeveloper.cmd file:
    SET ORACLE_HOME=%CD%
    What is very confusing is that with SQL Developer 1.5, there are several levels and several SQL Developer executables! I am really not sure which of these to use:
    I created the SQLDeveloper 1.5 directory called SQLDeveloper1_5 on Windows:
    1) cd C:\sqldeveloper1_5\sqldeveloper-5338
    there exists a sqldeveloper.exe
    2) cd c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloper.exe
    3) cd c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloer\bin\sqldeveloper.exe
    Which SQLDeveloper 1.5 executable should I be using and where should I place the
    sqldeveloper.cmd file?
    Also I did try to use a different database and schema for the repository with Quick Migrate but it appears a bug exists in SQL Developer 1.5 version that causes errors with Quick Migrate for MySQL to Oracle? Is this correct?
    As an update, I ran the following commands:
    cd to
    c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloper\bin
    sqldeveloper.cmd sqldeveloper.exe
    Start sqldeveloper.exe
    Perform standard capture for MySQL using the new mig2 schema as the new repository
    It starts the capture but fails on the errors below:
    Error loading nls:OALL8 is in an inconsistent state
    UPDATE
    ============================
    I tried this again and it worked with the exception of one error message listed below:
    Here are the steps that I followed:
    1. Create a Windows cmd script
    Put the following entries in the script:
    SET ORACLE_HOME=%CD%
    save the command windows script as sqldeveloper.cmd
    Copy this script to the base installation directory for SQLDeveloper
    Example:
    1. cd c:\SQLDeveloper1_5\sqldeveloper-5338\sqldeveloper
    2. Start SQLDeveloper with the command script that you created earlier
    Example:
    Open a Windows shell prompt window and execute the following scripts:
    a) sqldeveloper.cmd sqldeveloper.exe
    b) sqldeveloper.exe
    3) In SQL Developer 1.5
    From the Migrate menu,
    a) Delete current repository and create a new schema in Oracle target database call it mig2.
    b) Then create a new repository in SQL Developer 1.5
    c) Right mouse click on the MySQL 5.x database and choose capture
    It worked with the exception of one error message:
    o.jdbc.driver.OracleDriver     
    Error while registering Oracle JDBC Diagnosability MBean.
    So it looks like something is screwed up with my JDBC drivers and configuration for MySQL. How do I diagnose the JDBC driver issue for MySQL?
    Thanks!!!
    Ben
    Thanks
    Ben

  • Migration from MySQL - connection problem

    I've just installed OMWB 1.3.1 for WINDOWS and created repository in ORACLE 8.0.5 DB.
    When I enter Source Database Details in Capture Wizard and push Next button nothing is happened. In OMWB log-file I've found the following message among many others:
    Exception occurred during event dispatching:
    java.lang.NoClassDefFoundError: org/gjt/mm/mysql/Driver
    at java.util.Vector.<init>(Vector.java:128)
    The directory C:\Oracle\oracle81\Omwb\drivers\
    is empty while in CLASSPATH env variable I've found the following item:
    C:\Oracle\oracle81\Omwb\drivers\mm.mysql.jdbc-1.2a
    If anybody could help me to solve this problem, please let me know.
    Thank you in advance.
    null

    Hi Vladimir,
    I send you a message from the Migration Workbench team that solved my problem. I hope this will resolve yours too.
    Bye,
    Pierfrancesco
    Hi Pierfrancesco
    MySQL 3.22, 3.23 Requirements
    In order to migrate from MySQL to Oracle, you must install the MM MySQL JDBC
    driver release 1.2a on the same system as the Migration Workbench. You can
    obtain this by downloading the MM MySQL JDBC driver from the WorldServer Web
    site at:
    http://www.worldserver.com/mm.mysql
    Copy and unzip the mm.mysql.jdbc-1.2a.zip file to your
    %ORACLE_HOME%\Omwb\drivers directory. This automatically creates a new
    directory called
    mm.mysql.jdbc-1.2a within the drivers directory.
    Can you please verify that you have this driver extracted to the above
    specified directory. Another check you can do is see whether all the files in
    the zip
    have extracted.
    Please refer to the Release notes which you have access to by selection the Help
    drop down menu in the Workbench.
    I hope this helps
    Best regards
    Oracle Migration Workbench Support
    null

  • Problems while migrating from mySql DB to oracle DB

    Hi All,
    I'm using sql developer tool to migrate from MySql DB to oracle DB. I followed the below steps.
    1) I've created oracle and mysql connections successfully.
    2) I've captured Mysql data and I'm able to see the captured model in ' Captured Models ' window. After that right clicked on the captured model and selected ' Set Data Mapping'. Selected ' apply ' button without changing anything. After that I've right clicked on the captured model and selected ' Convert to Oracle Model ' . It has shown the converting process. After some time it has shown conversion completed successfully.
    But converted model is not visible in ' Converted Models ' window.
    Can anyone kindly assist on how to migrate from MySql Db to Oracle DB?
    Thanks,
    Saty.

    Hi,
    We did mysql to oracle migration some time back and played with workbench tool and many other softwares available.
    However our experience was not so good with these tools, each tool had its own limitation and was not able to migrate 100% data. Even the speed of migration was too slow which would have violated our production SLAs.
    So after spending a month with these tools we finally decided to create our own scripts for data migration. We used tools like TOAD and SQL Yok to create the DDL for the tables and other DB objects.
    For the data migration we downloaded the mysql data in flat files and used sql loader to upload the same data in oracle. Even if this was a time consuming activity but this resulted in 100% data migration with no record getting failed and the time taken for this activity was around 6 Hrs in comparison to time of 24-28 Hrs that the workbench tool took.
    Amar

Maybe you are looking for

  • HT1338 get pictures from iphone to mac

    Ive had my MacBook Pro since 2009 but only started using it a lot about a year ago.  I need to figure out how to get my iphone photos over to my Mac.  I started reading the support info but I don't have the iCloud icon on my apple preferences, instea

  • Hierarchies in Queries

    I wnat to find out in which BEx queries a particular hierarchy is being used. What is the best way to get this information . Any help appreciated. Thanks Arvind

  • Access to view  without a blocked

    Hi, i need access a view by sm30 2 or more times without a blocked thanks

  • Z10 GREAT PHONE, BUT THEY HAVE TO IMPROVE THE FOLLOWING:

    Soy un Blackberrista y apoyo la marca y sus productos. tengo un Z10 desere hace 4 dias y Blackberry debe MEJORAR / SOLUCIONAR lo siguiente: (OJALA ALGUIEN QUE PUEDA TENER POSIBILIDAD DE CAMBIOS TECNICOS EN SOFTWARE, LEA ESTO) 1- No puedo hacer llamad

  • SOA Imple Methodology

    Hello, Like AIM for Oracle Apps implementation, is there any methodology,standard/framework for Fusion Middleware implementation (espcially ADF, BPEL, ESB and BAM). Pls share any releated documents on the deliverables at each of the stages. TIA. Pras