MySQL Forums
Forum List  »  Microsoft SQL Server

Migration of SQL Server 2008 R2 to MySQL
Posted by: Chris Anderson
Date: February 25, 2015 07:45AM

I am attempting to migrate a sql server database to MySQL using the Migration tool.

During the reverse engineer step I am getting the following error stating
'NoneType' object has no attribute 'upper'

If I understand correctly - there is a datatype that is somehow not defined in MySQL we use in SQL Server that has an upper function.

But I don't understand how to move past this (unless something else is wrong).

Here is trace log....

Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\db_mssql_grt.py", line 327, in reverseEngineer
reverseEngineerUserDatatypes(connection, catalog)
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\db_mssql_grt.py", line 478, in reverseEngineerUserDatatypes
if simple_type.name == base_type.upper():
AttributeError: 'NoneType' object has no attribute 'upper'

Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\workbench\wizard_progress_page_widget.py", line 192, in thread_work
self.func()
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\migration_schema_selection.py", line 175, in task_reveng
self.main.plan.migrationSource.reverseEngineer()
File "C:\Program Files\MySQL\MySQL Workbench 6.2 CE\modules\migration.py", line 356, in reverseEngineer
self.state.sourceCatalog = self._rev_eng_module.reverseEngineer(self.connection, self.selectedCatalogName, self.selectedSchemataNames, self.state.applicationData)
SystemError: AttributeError("'NoneType' object has no attribute 'upper'"): error calling Python module function DbMssqlRE.reverseEngineer
ERROR: Reverse engineer selected schemas: AttributeError("'NoneType' object has no attribute 'upper'"): error calling Python module function DbMssqlRE.reverseEngineer
Failed

Options: ReplyQuote


Subject
Written By
Posted
Migration of SQL Server 2008 R2 to MySQL
February 25, 2015 07:45AM


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.