MySQL Forums
Forum List  »  IBM DB2

Migrate IBM DB2 (9.7) to MSQL
Posted by: andreas Balg
Date: August 21, 2012 11:17AM

Is there a Bug in our ODBC-SOurce Setup or in MySQL Workbench - How may I do a simple 1:1 (no views, triggers, stored procedures) DB2 to MySQL:

Workbench (5.2.42 CE) just tells Me the fllwing while trying to reverse engineer the DB:

Opening ODBC connection to DSN=gruppeodb;PWD=XXXX...

Connected

Reverse engineering GRUPPE from None

- Reverse engineering catalog information

- Preparing...

- Gathered stats for GRUPPE

*** WARNING: The schema GRUPPE was not found in the catalog None. Skipping it.

Traceback (most recent call last):

File "C:\Users\aba\Downloads\MySQL Workbench 5.2.42 CE\modules\db_generic_re_grt.py", line 281, in reverseEngineer

total_tables = sum(table_count_per_schema[schema.name] for schema in catalog.schemata)

File "C:\Users\aba\Downloads\MySQL Workbench 5.2.42 CE\modules\db_generic_re_grt.py", line 281, in <genexpr>

total_tables = sum(table_count_per_schema[schema.name] for schema in catalog.schemata)

KeyError: ''



Traceback (most recent call last):

File "C:\Users\aba\Downloads\MySQL Workbench 5.2.42 CE\modules\workbench\wizard_progress_page_widget.py", line 191, in thread_work

self.func()

File "C:\Users\aba\Downloads\MySQL Workbench 5.2.42 CE\modules\migration_schema_selection.py", line 160, in task_reveng

self.main.plan.migrationSource.reverseEngineer()

File "C:\Users\aba\Downloads\MySQL Workbench 5.2.42 CE\modules\migration.py", line 329, in reverseEngineer

self.state.sourceCatalog = self._rev_eng_module.reverseEngineer(self.connection, self.selectedCatalogName, self.selectedSchemataNames, self.state.applicationData)

SystemError: KeyError("('',)"): error calling Python module function DbGenericRE.reverseEngineer

*** ERROR: Reverse engineer selected schemata: KeyError("('',)"): error calling Python module function DbGenericRE.reverseEngineer

Failed

Options: ReplyQuote


Subject
Views
Written By
Posted
Migrate IBM DB2 (9.7) to MSQL
2895
August 21, 2012 11:17AM
1375
September 18, 2012 11:53AM
1305
September 18, 2012 06:01PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.