Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Error on SSIS package when trying to import Data from SQL Server to MySQL

$
0
0

I looked at the few similar posts regarding these problems but i quite did not find the solutions yet.

I am trying to import some data from SQL server ( 2008 R2 - 64 bit )  to MY SQL. Installed the ODBC driver ( SQL connector)  MySQK ODBC 5.2w.

I am using ADO.NET connection string for both Source( SQL server)  and Destination( MySQL), however i get error on destination when i am trying to map to the MySQL table ( trying to insert into Mysql Table).

When i try to click to get table drop down list in destination column i get this error>

"Could not retrieve the table information for the connection manager 'Mysql_serverName'.

Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft Visual Studio)" .

And then i click on new and try to create the New table, and i do get the error during mapping.

"Error at Data Flow Task [ADO NET Destination [43]]: Failed to get properties of external columns. The table name you entered may not exist, or you do not have SELECT permission on the table object and an alternative attempt to get column properties through connection has failed. Detailed error messages are: 

ERROR [HY010] [MySQL][ODBC 5.2(w) Driver][mysqld-5.1.66]

"

I don't think it is permission issue, since if i use the same ado.net connection( as source ) and select form mysql tables, i can retrieve the data.

Also, the user account that is used in ODBC connection to connect to MYSQL has pretty much full rights on mysql db.

Appreciate if i get any help here or point me to the right direction.



Viewing all articles
Browse latest Browse all 24688

Trending Articles



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