MySQL Forums
Forum List  »  Oracle

Re: MySQL Workbench Migration Oracle Privileges
Posted by: Sergio de la Cruz
Date: July 30, 2012 01:44PM

OK, now try this changes:


=== modified file 'modules/db.generic/db_generic_re_grt.py'
--- modules/db.generic/db_generic_re_grt.py 2012-06-23 01:21:16 +0000
+++ modules/db.generic/db_generic_re_grt.py 2012-07-30 19:41:38 +0000
@@ -394,10 +394,10 @@
try:
type_name = odbc_datatypes[column_info[4]].upper() # data_type
datatype = simple_datatypes_list.index(type_name)
- except ValueError:
+ except (KeyError, ValueError):
try:
user_datatype = catalog.userDatatypes[user_datatypes_list.index(type_name)]
- except (ValueError, TypeError):
+ except (ValueError, TypeError, NameError):
user_datatype = None
datatype = simple_datatypes_list.index('VARCHAR')
column.length = 255

In your case, the file to modify is "/Applications/MySQLWorkbench.app/Contents/PlugIns/db_generic_re_grt.py".

Sergio A. de la Cruz Rodríguez
Software Developer
Oracle Corp.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: MySQL Workbench Migration Oracle Privileges
636
July 30, 2012 01:44PM


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.