Quantcast
Channel: MySQL Forums - Microsoft Access
Viewing all 487 articles
Browse latest View live

Problems migrating Access to MySQL (1 reply)

$
0
0
Hello,
I've encountered problems migrating an Access 2007 Database (only tables) to MySQL Server 5.6.24 in a Windows XP 32 bits.
I've installed the appropiate ODBC Access driver (32 bits) and MySQL Workbench 6.3.6.
When I reached the end of the proccess, when transferring data, I encountered a problem with the ODBC driver:
Some of the tables have problems when executing SQLExecDirect because of error 07002 of the driver indicating a lack of parameters. But as you can see other tables copy the information without any problems.
I append the error code located under SQLDirectExec documentation.
Thanks in advance.

07002
COUNT field incorrect
The number of parameters specified in SQLBindParameter was less than the number of parameters in the SQL statement contained in *StatementText.
SQLBindParameter was called with ParameterValuePtr set to a null pointer, StrLen_or_IndPtr not set to SQL_NULL_DATA or SQL_DATA_AT_EXEC, and InputOutputType not set to SQL_PARAM_OUTPUT, so that the number of parameters specified in SQLBindParameter was greater than the number of parameters in the SQL statement contained in *StatementText.

"`CAP`.`Ptos_singulares`:Copying 6 columns of 3259 rows from table ."Ptos_singulares"
`CAP`.`Ptos_singulares`:Finished copying 3259 rows in 0m01s
ERROR: `CAP`.`Sub_Informes`:SQLExecDirect(SELECT "IdInforme", "Empresa", "Aux", "Sección", "Servicio", "HoraInicio", "HoraFin" FROM "Sub_Informes"): 07002:1-3010:[Microsoft][Controlador ODBC Microsoft Access] Pocos par�metros. Se esperaba 1.


ERROR: `CAP`.`Sub_Informes`:Failed copying 20756 rows
ERROR: `CAP`.`Respuesta`:SQLExecDirect(SELECT "Fecha_envio", "IdRI", "CódRef", "Ref_emp", "Empresa", "Operador", "IdDep", "Supervisor", "TipoFallo", "CausaFalloSupuesta", "DuraciónFalloEstimado" FROM "Respuesta" ORDER BY "IdRI"): 07002:1-3010:[Microsoft][Controlador ODBC Microsoft Access] Pocos par�metros. Se esperaba 2.


ERROR: `CAP`.`Respuesta`:Failed copying 689 rows
`CAP`.`Sub_CableFO`:Copying 6 columns of 1256 rows from table ."Sub_CableFO"
`CAP`.`Sub_CableFO`:Finished copying 1256 rows in 0m41s
`CAP`.`EmpalmeFO`:Copying 7 columns of 163 rows from table ."EmpalmeFO"
`CAP`.`EmpalmeFO`:Finished copying 163 rows in 0m05s
ERROR: `CAP`.`Personal`:SQLExecDirect(SELECT "IdDEP", "CódRES", "NOMBRE", "CARGO", "Email", "TlfEXTERIOR", "TlfINTERIOR", "MóvilEXTERIOR", "MóvilINTERIOR", "FaxEXTERIOR", "FaxINTERIOR", "BUSCA", "ABONADO" FROM "Personal"): 07002:1-3010:[Microsoft][Controlador ODBC Microsoft Access] Pocos par�metros. Se esperaba 3."

MS Acces Migration Isue (1 reply)

$
0
0
I get the error below but not sure what to do to overcome it.
Haveing had a look at other errors in these forums I do not have any foreign characters

MYSQL workbench 6.3.3.0 build 592 32 bit


Starting...
Connect to source DBMS...
- Connecting to source...
Connecting to ...
Opening ODBC connection to DSN=SLtDb...
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\modules\db_msaccess_re_grt.py", line 697, in connect
return MsAccessReverseEngineering.connect(connection, password)
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\modules\db_msaccess_re_grt.py", line 148, in connect
con = db_driver.connect(connection, password)
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\workbench\db_driver.py", line 91, in connect
connection = library.connect(connection_string, password=password)
pyodbc.Error: ('HY000', 'The driver did not supply an error!')
Connecting to ...
Opening ODBC connection to DSN=SLtDb...
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\modules\db_msaccess_re_grt.py", line 697, in connect
return MsAccessReverseEngineering.connect(connection, password)
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\modules\db_msaccess_re_grt.py", line 148, in connect
con = db_driver.connect(connection, password)
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\workbench\db_driver.py", line 91, in connect
connection = library.connect(connection_string, password=password)
pyodbc.Error: ('HY000', 'The driver did not supply an error!')

Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\workbench\wizard_progress_page_widget.py", line 66, in run
self.func()
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\modules\migration_source_selection.py", line 443, in task_connect
raise e
SystemError: Error("('HY000', 'The driver did not supply an error!')"): error calling Python module function DbMsAccessRE.connect
ERROR: Error during Connect to source DBMS: Error("('HY000', 'The driver did not supply an error!')"): error calling Python module function DbMsAccessRE.connect
ERROR: Exception in task 'Connect to source DBMS': SystemError('Error("(\'HY000\', \'The driver did not supply an error!\')"): error calling Python module function DbMsAccessRE.connect',)

Failed

ACCESS migration Characterset German (no replies)

$
0
0
I'm trying to transfer an ACCESS database to mySQL adnd strictly followed this guide:
https://dev.mysql.com/doc/workbench/en/wb-migration-database-access.html

Almost everything works fine, but copying data to target RDBMS fails if a source table has special German characters like ÄÖÜäöüß in the fieldnames: these records are not copied. But: The structure is created fine, showing these special characters correctly in mySQL.

The source character set is left as proposed cp1252.

I prepared an example from the Northwind.mdb || German: Nordwind.mdb using only one orginal table: Orders || Bestellungen. This has such fieldnames like "Empfänger" or "Straße". I copied this table into "BestellungenWITHOUT", replacing the ÄÖÜäöüß with "X" in the fieldnames: The import results in
0 records for Bestellungen
830 records for BestellungenWITHOUT (as should be).


The message log shows:
1660 total rows in 2 tables need to be copied:
- ."Bestellungen": 830
- ."BestellungenWITHOUT": 830
Determine number of rows to copy finished
Copy data to target RDBMS....

Migrating data...
wbcopytables.exe --odbc-source="DSN=Microsoft Access-Datenbank" --target="root@localhost:3306" --progress --passwords-from-stdin --thread-count=2 --source-rdbms-type=MsAccess --source-charset=cp1252 --table-file=c:\users\username\appdata\local\temp\tmp4xeivz
Loading table information from file c:\users\username\appdata\local\temp\tmp4xeivz

ERROR: `NORDWIND`.`Bestellungen`:SQLExecDirect(SELECT "Bestell-Nr", "Kunden-Code", "Personal-Nr", "Bestelldatum", "Lieferdatum", "Versanddatum", "VersandÜber", "Frachtkosten", "Empfänger", "Straße", "Ort", "Region", "PLZ", "Bestimmungsland" FROM "Bestellungen"): 07002:1-3010:[Microsoft][ODBC Microsoft Access Driver] 3 Parameter wurden erwartet, aber es wurden zu wenig Parameter �bergeben.


ERROR: `NORDWIND`.`Bestellungen`:Failed copying 830 rows
`NORDWIND`.`BestellungenWITHOUT`:Copying 14 columns of 830 rows from table ."BestellungenWITHOUT"
`NORDWIND`.`BestellungenWITHOUT`:Finished copying 830 rows in 0m00s
FINISHED

14:50:15 [INF][ copytable]: --table "Bestellungen" `NORDWIND` `Bestellungen` "Bestell-Nr", "Kunden-Code", "Personal-Nr", "Bestelldatum", "Lieferdatum", "Versanddatum", "VersandÜber", "Frachtkosten", "Empfänger", "Straße", "Ort", "Region", "PLZ", "Bestimmungsland"

14:50:15 [INF][ copytable]: --table "BestellungenWITHOUT" `NORDWIND` `BestellungenWITHOUT` "Bestell-Nr", "Kunden-Code", "Personal-Nr", "Bestelldatum", "Lieferdatum", "Versanddatum", "VersandXber", "Frachtkosten", "EmpfXnger", "StraXe", "Ort", "Region", "PLZ", "Bestimmungsland"

14:50:15 [INF][ copytable]: Connecting to MySQL server at localhost:3306 with user root
14:50:15 [INF][ copytable]: Connection to MySQL opened
14:50:15 [INF][ copytable]: Setting charset for source data to latin1
14:50:15 [INF][ copytable]: Opening ODBC connection to [MsAccess] 'DSN=Microsoft Access-Datenbank;PWD=XXX'
14:50:15 [INF][ copytable]: ODBC connection to 'DSN=Microsoft Access-Datenbank;PWD=' opened
14:50:15 [INF][ copytable]: Connecting to MySQL server at localhost:3306 with user root
14:50:15 [INF][ copytable]: Connection to MySQL opened
14:50:15 [INF][ copytable]: Setting charset for source data to latin1
14:50:15 [INF][ copytable]: Opening ODBC connection to [MsAccess] 'DSN=Microsoft Access-Datenbank;PWD=XXX'
14:50:15 [INF][ copytable]: ODBC connection to 'DSN=Microsoft Access-Datenbank;PWD=' opened
14:50:15 [INF][ copytable]: Connecting to MySQL server at localhost:3306 with user root
14:50:15 [INF][ copytable]: Connection to MySQL opened
14:50:15 [INF][ copytable]: Setting charset for source data to latin1
14:50:15 [INF][ copytable]: Re-enabling triggers for schema 'NORDWIND'
14:50:15 [INF][ copytable]: No triggers found for 'NORDWIND'

Thanks for any proposal.

MySQL Workbench: Guide to Database Migration from Microsoft Access (3 replies)

Workbench Access to MySQL migration issue. (5 replies)

$
0
0
MySQL Workbench version: 6.2.3.12312 Build 2280 32 Bit
Win 7 pro, latest patches.

I am trying to Reverse engineer a MS Access 2010 DB to a MySQL DB. I get to the reverse engineer part and it almost gets done and then throws the following error. I don't know where to go from here, the error doesn't provide me with any info to work with. Does anyone have any idea as to what my issue might be?

Thanks,

Traceback (most recent call last):
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.2 CE\modules\db_msaccess_re_grt.py", line 753, in reverseEngineer
return MsAccessReverseEngineering.reverseEngineer(connection, catalog_name, schemata_list, context)
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.2 CE\modules\db_msaccess_re_grt.py", line 351, in reverseEngineer
cls.reverseEngineerTables(connection, schema)
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.2 CE\modules\db_msaccess_re_grt.py", line 438, in reverseEngineerTables
cls.reverseEngineerTableFKs(connection, table)
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.2 CE\modules\db_msaccess_re_grt.py", line 632, in reverseEngineerTableFKs
process_fk(catalog, table, fk_name, fk_columns)
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.2 CE\modules\db_msaccess_re_grt.py", line 588, in process_fk
ref_column = find_object_with_name(foreign_key.referencedTable.columns, fk_row.szReferencedColumn)
AttributeError: 'NoneType' object has no attribute 'columns'

Traceback (most recent call last):
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.2 CE\workbench\wizard_progress_page_widget.py", line 192, in thread_work
self.func()
File "C:\Program Files (x86)\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 (x86)\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 'columns'"): error calling Python module function DbMsAccessRE.reverseEngineer
ERROR: Reverse engineer selected schemas: AttributeError("'NoneType' object has no attribute 'columns'"): error calling Python module function DbMsAccessRE.reverseEngineer
Failed

Reverse Engineer Access database in MySQL Workbench (2 replies)

$
0
0
I am trying to migrate a Microsoft Access database in MySQL Workbench in Windows 7. The problem is at Revers Engineer Source. I get a "A task has failed executing."

Here is the following message log (I'm new to MySQL, so I don't know what to do next, is there a tutorial out there or a message board I could go to for directions on what to do next?).

Starting...
Connect to source DBMS...
- Connecting...
Connecting to ...
Opening ODBC connection to DSN=OR_MIG...
Connected
Connect to source DBMS done
Reverse engineer selected schemas....
Reverse engineering OR from def
- Reverse engineering catalog information
- Preparing...
Traceback (most recent call last):
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.2 CE\modules\db_msaccess_re_grt.py", line 748, in reverseEngineer
return MsAccessReverseEngineering.reverseEngineer(connection, catalog_name, schemata_list, context)
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.2 CE\modules\db_msaccess_re_grt.py", line 265, in reverseEngineer
routine_count_per_schema[schema_name] = len(cls.getProcedureNames(connection, catalog_name, schema_name)) + len(cls.getFunctionNames(connection, catalog_name, schema_name)) if get_routines else 0
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.2 CE\modules\db_msaccess_re_grt.py", line 227, in getProcedureNames
cls.get_connection(connection).cursor().procedures() ))
pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][ODBC Microsoft Access Driver] Undefined function '|' in expression. (-3102) (SQLProcedures)")

Traceback (most recent call last):
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.2 CE\workbench\wizard_progress_page_widget.py", line 192, in thread_work
self.func()
File "C:\Program Files (x86)\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 (x86)\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: ProgrammingError("('42000', "[42000] [Microsoft][ODBC Microsoft Access Driver] Undefined function '|' in expression. (-3102) (SQLProcedures)")"): error calling Python module function DbMsAccessRE.reverseEngineer
ERROR: Reverse engineer selected schemas: ProgrammingError("('42000', "[42000] [Microsoft][ODBC Microsoft Access Driver] Undefined function '|' in expression. (-3102) (SQLProcedures)")"): error calling Python module function DbMsAccessRE.reverseEngineer
Failed

Workbench Access to MySQL migration issue (no replies)

$
0
0
I'm experiencing the same problem as David Plott () October 09, 2014 01:03PM while reverse Engineering a MSAccess database to MySQL.

See: http://forums.mysql.com/read.php?104,621787,621787#msg-621787

I've tried the recommended patch, but the Python 2.7.9 compiler rejects the Continue statement (not inside a loop). If I remove the statement, recompile the pyc and then retry the test I get to this error instead:

SystemError: TypeError("'NoneType' object has no attribute '__getitem__'"): error calling Python module function DbMsAccessRE.getSchemaNames
ERROR: Retrieve schema list from source: TypeError("'NoneType' object has no attribute '__getitem__'"): error calling Python module function DbMsAccessRE.getSchemaNames
Failed

Still an issue with the 'NoneType' object (original complaint was no attribute 'columns'. So I think that the patch is both itself bad as well as doesn't address the underlying problem.

I'm using Workbench 6.2 CE (6.2.5.0 Build 397, 32-bit) on Win7, and MSAccess from Office365.

Your help greatly appreciated!

-----
paul

XML,XL,Access db import (7 replies)

$
0
0
While trying to import XML,XL,Access db data file I'm getting "ERROR: ASCII '\0' appeared in the statement, but this is not allowed unless option --binary-mode is enabled and mysql is run in non-interactive mode. Set --binary-mode to 1 if ASCII '\0' is expected. Query: '��?ࡱ?�'.

Operation failed with exitcode 1
09:11:44 Import of C:Documents\N.xls has finished with 1 errors

I am using MySQL workbench 6.2try to migrated MS Access to MySQL via DNS ODBC connection, after configure the ODBC and perform "Test Connection" and got an error message "Test source DBMS connection Operation Cancelled" (1 reply)

$
0
0
Hi,

Mark Nguyen posted this about a year ago, but there was really no resolution under that thread. I'm trying to migrate Access to MySQL and am following the directions on MySQL workbench 6.3.4, but when I test the connection, it says connection cancelled. There are really no troubleshooting steps from there. I'm running Windows 7 64 bit, if that helps. I ran it from command line with the debug log option, but I have no idea what to do with that information. Any help would be appreciated. Thanks.

ODBC Connection for MS Access 2013 Drivers (2 replies)

$
0
0
I've been trying for days to migrate Access 2013 data to Workbench to which I wish to use from hereon. My Windows system is 7-64 bit Home Premium. I've followed forum & other instructions to point to SysWOW64 etc.

The major problem evolves around the Access drivers. (Via the wizard), after selecting under User DSN tab
Name: MS Access Database
Driver: Microsoft Access Database (*.mdb, *accdb)

when I go to Drivers Tab I can't find a Access driver option that also includes *.accdb option relevant to Access 2013. Result is I can't connect.

To get around this I went into Access 2013 and saved the file to an earlier *.mdb version. This worked fine until the Workbench wizard got to last step ...
"Migration: Could not read from System Tables. You must grant SELECT access on all system tables for the database."

When I went into Access 2013 to grant access for this earlier version it still didn't work.

I've tried to find a download for a MS access 2013 *.accdb inclusive driver without success. I did find ms link https://www.microsoft.com/en-au/download/details.aspx?id=13255 but being a newbie I have no idea of the implications of this download which "...install a set of components that can be used to facilitate transfer of data between 2010 Microsoft Office System files and non-Microsoft Office applications".

Furthermore, when I now click on User Access Database DSN it now returns the message "The setup routines for Microft Access Driver (*mdb, *.accdb) ODBC driver could not be found. Please reinstall driver," When hit OK button, it is followed by another window (Titled Driver's ConfigDSN,ConfigDriver, or ConfigTranslator failed) with "Errors Found: Component not found in the registry" message. Same result if I click on the drivers whether in System32 or SysWOW64 folder.

At my wits end and it's holding up opencart web implementation.

Appending MS Access table to MySQL table using MySQL Workbench (1 reply)

$
0
0
Hi,

I am total new to MySQL (and MySQL workbench). I have a table that is stored in MS Access that I want to append into a table in MySQL. I can download the MySQL table into Access, append the table from Access to the MySQL table then upload the new table, but there must be a better way of doing this. I am not a coder, so was planning on using MySQL Workbench as an easier process (?).

Thanks for any help you can give me.

Regards,

David

Workbench Access migration issue (2 replies)

$
0
0
Hello

Workbench 6.3.5 build 201 , MS windows 7 service pack 1 and MS access 2013.

I'm trying to migrate a data base I've created on access2013 to mysql with workbench migration tool.

Everything is going fine until the step "reverse engineer source", where process stops at the step "reverse engineering selected schemas".

I don't know what I have to do to fix the problem, maybe changing charset in the "source selection" step, but with which charset ?

Here is the log :

Starting...
Connect to source DBMS...
- Connecting...
Connecting to ...
Opening ODBC connection to DSN=mpd_site_web...
Connected
Connect to source DBMS done
Reverse engineer selected schemas....
Reverse engineering Base de données2 from def
- Reverse engineering catalog information
- Preparing...
- Gathered stats for Base de données2
Reverse engineering tables from Base de données2
Traceback (most recent call last):
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\db_msaccess_re_grt.py", line 751, in reverseEngineer
return MsAccessReverseEngineering.reverseEngineer(connection, catalog_name, schemata_list, context)
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\db_msaccess_re_grt.py", line 291, in reverseEngineer
cls.reverseEngineerTables(connection, schema)
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\db_msaccess_re_grt.py", line 420, in reverseEngineerTables
grt.send_progress(i / total, 'Retrieving table %s.%s...' % (schema.name, table_name))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 29: ordinal not in range(128)

Traceback (most recent call last):
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\workbench\wizard_progress_page_widget.py", line 192, in thread_work
self.func()
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\migration_schema_selection.py", line 175, in task_reveng
self.main.plan.migrationSource.reverseEngineer()
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\migration.py", line 369, in reverseEngineer
self.state.sourceCatalog = self._rev_eng_module.reverseEngineer(self.connection, self.selectedCatalogName, self.selectedSchemataNames, self.state.applicationData)
SystemError: UnicodeDecodeError("'ascii' codec can't decode byte 0xc3 in position 29: ordinal not in range(128)"): error calling Python module function DbMsAccessRE.reverseEngineer
ERROR: Reverse engineer selected schemas: UnicodeDecodeError("'ascii' codec can't decode byte 0xc3 in position 29: ordinal not in range(128)"): error calling Python module function DbMsAccessRE.reverseEngineer
Failed

Reverse engineer: Error calling Python function DbSQLAnywhereRE.reverseEngineer (1 reply)

$
0
0
I am migrating from Sybase SQL Anywhere 9.0 to MySQL 5.6.17 on my local computer (WAMP). I can connect to both DBs however the migration wizard fails at the Reverse Engineer stage presenting the following error:

Starting...
Connect to source DBMS...
- Connecting...
Connect to source DBMS done
Reverse engineer selected schemas....
Reverse engineering DBA, SYS, dbo, rs_systabgroup from sianbima43
- Reverse engineering catalog information
Traceback (most recent call last):
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\db_sqlanywhere_re_grt.py", line 470, in reverseEngineer
return SQLAnywhereReverseEngineering.reverseEngineer(connection, catalog_name, schemata_list, context)
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\db_sqlanywhere_re_grt.py", line 169, in reverseEngineer
catalog = super(SQLAnywhereReverseEngineering, cls).reverseEngineer(connection, '', schemata_list, context)
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\db_generic_re_grt.py", line 237, in reverseEngineer
catalog = cls.reverseEngineerCatalog(connection, catalog_name)
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\db_generic_re_grt.py", line 388, in reverseEngineerCatalog
cls.reverseEngineerUserDatatypes(connection, catalog)
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\db_sqlanywhere_re_grt.py", line 41, in wrapped_method
res = method(cls, connection, *args)
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\db_sqlanywhere_re_grt.py", line 194, in reverseEngineerUserDatatypes
for type_name, sql_definition, parent_type in cls.execute_query(connection, query):
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\db_generic_re_grt.py", line 76, in execute_query
return cls.get_connection(connection_object).cursor().execute(query, *args, **kwargs)
pyodbc.ProgrammingError: ('42S22', "[42S22] [Sybase][ODBC Driver][Adaptive Server Anywhere]N\xe3o \xe9 poss\xedvel encontrar a coluna 'base_type_str' (-143) (SQLExecDirectW)")

Traceback (most recent call last):
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\workbench\wizard_progress_page_widget.py", line 192, in thread_work
self.func()
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\migration_schema_selection.py", line 175, in task_reveng
self.main.plan.migrationSource.reverseEngineer()
File "C:\Program Files (x86)\MySQL\MySQL Workbench 6.3 CE\modules\migration.py", line 369, in reverseEngineer
self.state.sourceCatalog = self._rev_eng_module.reverseEngineer(self.connection, self.selectedCatalogName, self.selectedSchemataNames, self.state.applicationData)
SystemError: ProgrammingError("('42S22', "[42S22] [Sybase][ODBC Driver][Adaptive Server Anywhere]N\xe3o \xe9 poss\xedvel encontrar a coluna 'base_type_str' (-143) (SQLExecDirectW)")"): error calling Python module function DbSQLAnywhereRE.reverseEngineer
ERROR: Reverse engineer selected schemas: ProgrammingError("('42S22', "[42S22] [Sybase][ODBC Driver][Adaptive Server Anywhere]N\xe3o \xe9 poss\xedvel encontrar a coluna 'base_type_str' (-143) (SQLExecDirectW)")"): error calling Python module function DbSQLAnywhereRE.reverseEngineer
Failed

Any clue how to solve this?

Access to MySQL autonumber fields... (1 reply)

$
0
0
I recently used (for the first time) the Migration Workbench to transfer data from an ACCESS DB to MySQL. I noticed that when finished, my Key (autonumber) fields hadn't been migrated. Did I do something wrong? I will continue to use Access as a front end, so it's critical that these fields be carried forward.

Thank you!

Convert an Access database using charset iso-8859-1 (1 reply)

$
0
0
Hi,

I have an Access database using charset iso-8859-1 which I want to convert to MySQL. But the MySQL version has been converted in utf-8 in the same time.
I don't remember having been asked if I wanted my data to be converted to utf-8 during the process, did I missed somthing ?
Is it possible to convert to MySQL and keep data in iso-8859 ?

Thanks

MS Access to MySQL Migration Error (no replies)

$
0
0
I'm getting this error during the Reverse Engineering step using the migration tool in MySQL Workbench 6.3:

Starting...
Connect to source DBMS...
- Connecting...
Connecting to ...
Opening ODBC connection to DSN=GroupHiitVideos...
Connected
Connect to source DBMS done
Reverse engineer selected schemas....
Reverse engineering GroupHiitVideos from def
- Reverse engineering catalog information
- Preparing...
Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\modules\db_msaccess_re_grt.py", line 751, in reverseEngineer
return MsAccessReverseEngineering.reverseEngineer(connection, catalog_name, schemata_list, context)
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\modules\db_msaccess_re_grt.py", line 265, in reverseEngineer
routine_count_per_schema[schema_name] = len(cls.getProcedureNames(connection, catalog_name, schema_name)) + len(cls.getFunctionNames(connection, catalog_name, schema_name)) if get_routines else 0
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\modules\db_msaccess_re_grt.py", line 227, in getProcedureNames
cls.get_connection(connection).cursor().procedures() ))
pyodbc.ProgrammingError: ('42000', "[42000] [Microsoft][ODBC Microsoft Access Driver] Undefined function '|' in expression. (-3102) (SQLProcedures)")

Traceback (most recent call last):
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\workbench\wizard_progress_page_widget.py", line 192, in thread_work
self.func()
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\modules\migration_schema_selection.py", line 175, in task_reveng
self.main.plan.migrationSource.reverseEngineer()
File "C:\Program Files\MySQL\MySQL Workbench 6.3 CE\modules\migration.py", line 369, in reverseEngineer
self.state.sourceCatalog = self._rev_eng_module.reverseEngineer(self.connection, self.selectedCatalogName, self.selectedSchemataNames, self.state.applicationData)
SystemError: ProgrammingError("('42000', "[42000] [Microsoft][ODBC Microsoft Access Driver] Undefined function '|' in expression. (-3102) (SQLProcedures)")"): error calling Python module function DbMsAccessRE.reverseEngineer
ERROR: Reverse engineer selected schemas: ProgrammingError("('42000', "[42000] [Microsoft][ODBC Microsoft Access Driver] Undefined function '|' in expression. (-3102) (SQLProcedures)")"): error calling Python module function DbMsAccessRE.reverseEngineer
Failed

Any suggestions for fixing this?

Error Migrating Access DB (1 reply)

$
0
0
Hello everyone!

I am using MySQL on my mac and I am trying to migrate an Access DB that I created to MySQL. I get to the Fetch Schemas List step when I get the following error:

Error("('HY000', '[HY000] [Actual][Access] no such function: SERVERPROPERTY (0) (SQLExecDirectW)')"): error calling Python module function DbMssqlRE.getServerVersion


Traceback (most recent call last):
File "/Applications/MySQLWorkbench.app/Contents/Resources/libraries/workbench/wizard_progress_page_widget.py", line 66, in run
self.func()
File "/Applications/MySQLWorkbench.app/Contents/Resources/plugins/migration_source_selection.py", line 444, in task_connect
raise e
SystemError: Error("('HY000', '[HY000] [Actual][Access] no such function: SERVERPROPERTY (0) (SQLExecDirectW)')"): error calling Python module function DbMssqlRE.getServerVersion
ERROR: Error during Connect to source DBMS: Error("('HY000', '[HY000] [Actual][Access] no such function: SERVERPROPERTY (0) (SQLExecDirectW)')"): error calling Python module function DbMssqlRE.getServerVersion
ERROR: Exception in task 'Connect to source DBMS': SystemError('Error("(\'HY000\', \'[HY000] [Actual][Access] no such function: SERVERPROPERTY (0) (SQLExecDirectW)\')"): error calling Python module function DbMssqlRE.getServerVersion',)

Failed


Any ideas what is going wrong? Complete newbie here.
Thanks!

No schemata listed for migration (no replies)

$
0
0
I'm trying to migrate a MS Access database. First problem is the Database System pulldown in the Source Selection tab doesn't include MS Access as a choice. But it looks like my installation is complete. So I selected Generic RDBMS. I was able to select my Access database using a DSN and tested the connection. Continuing, Fetch Schemas List seemed to work fine, but Schemas Selection shows no schemata, and it won't let me proceed unless I select something. I'm using the latest Workbench, and Access 2013.

Migration MSAccess->MySQL in Workbench problems. (2 replies)

$
0
0
I don't understand how this works:

In Workbench 6.3.7 in Migration Wizard the Source Selection is set as:
1. I am choosing my source MSAcessDB in 'Source Selection' by selecting 'Microsoft Access' from the list of supported systems.
2. Connection Method='ODBC Data Source'.
Parameters:
3. DSN= 'MS Access Database (Microsoft Access Driver(*.mdb, *.accdb)'.
(I have set User DSN: arxwebtab1.mdb - 'MS Access Database (Microsoft Access Driver(*.mdb, *.accdb)' in ODBC Data Source Administrator (32-bit)).
4. Default Character Set='cp1252'.

The thing is that I could have MULTIPLE databases (*.mdb) being connected to this Microsoft Access ODBC Driver.
How does the system know which .mdb-file I am referring to by just setting the DSN to 'MS Access Database (Microsoft Access Driver(*.mdb, *.accdb)'??
How does it know I am now aiming at migration from 'arxwebtab1.mdb' and no other AccessDB??

BTW, when I put in these values and do 'Test Connection' I get 'Test Source DBMS Connection, Operation cancelled'.
When trying to go on into 'Fetch Schemas List' I get this:
ERROR: Exception in task 'Connect to source DBMS': SystemError('Error("(\'HY000\', \'The driver did not supply an error!\')"): error calling Python module function DbMsAccessRE.connect',)

SO I don't understand and I get an error..
What can I do?
Can you help me out??

TIA

MSAccess->MySQL Source Connection Parameters FAILED (2 replies)

$
0
0
Trying to do Migration MSAccess->MySQL.
In Workbench 6.3 x86 -> Database -> Migration Wizard -> Source RDBMS Connection Parameters I set:
Database System: Microsoft Access
Stored Connection: ""
Connection Method: ODBC Data Source
Parameters
DSN: MS Access Database (Microsoft Access Drive (*.mdb, *.accdb)
Default Character Set: cp1252

Test Connection gives: Operation Cancelled.

Why is this?

TIA
Viewing all 487 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>