Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1451

SSIS Data Destination task difficulties (no replies)

$
0
0
I'm trying to use SSIS to do ETL for MySQL. I downloaded Connector/Net 6.2.3 to use with MS SSIS 2008.

I started off with the connection and then tried connecting to tables on the data source task in the data flow. The tables came up as "schema"."table" and threw errors. I then backed out of the editor and in properties added the table name to the table property. This then worked.

Next step was to put this data into a backup table, so I created a data destination task. I had the same issues with the data source task, but got the table's hooked up correctly using the above method.

I then ran the package and got an error message:
[Informer_templateconditions_backup [89]] Error: An exception has occurred during data insertion, the message returned from the provider is: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '"Environment", "DocumentName", "ConditionID") VALUES (p1, p2, p3), (p1,p2,p3), (' at line 1

I found a blog entry from a guy who works on SSIS. He recommended setting the RetainSameConnection property to True and then adding in a SQL task before the package to change the MySQL session to accept speeach marks (") as quote identifiers. I did both of these things, and I now get a new error:
[Informer_templates_backup [89]] Error: An exception has occurred during data insertion, the message returned from the provider is: There is already an open DataReader associated with this Connection which must be closed first.

I can't find any guidance on this new error that pertains to my situation. Does anybody have any advice on how to overcome this error?

Thanks in advance,
Stephanie

Viewing all articles
Browse latest Browse all 1451

Trending Articles



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