Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Eroor connecting from SSIS 2012 to mySQL databases Expand / Collapse
Author
Message
Posted Wednesday, December 4, 2013 3:52 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, January 8, 2014 6:45 AM
Points: 1, Visits: 9
Hi all,

I am currently setting up a SQL Server 2012 environment. In order to retrieve data from legacy systems I need to access mySQL servers.

In a first rough draft I bought a load package, that simply has a data flow task to copy data from one mysql table to a sql server table.

While running it manually in Visual Studio on the MS SQL Server, it works without errors. However, when I deploy the package I get the follwoing error messages:

"Data Flow Task:Error: ODBC Source failed validation and returned error code 0x80004005."
...
"Package:Error: An ODBC error -1 has occurred."
...
"Data Flow Task:Error: ODBC Source failed validation and returned error code 0x80004005."

I set up the mySQL connection with ODBC Admin 32 Bit as a User DSN (but also tested with system DSN, it does not work with that in the package), when I click Test (either User or System) I get Test Connection Succeeded (64 Bit is not an option with the mySQL servers)

I used those connections in the package. Again, when I run the package from Visual Studio, it works with the User DSN, with System DSN it fails with the same errors.
When I try to run it (USer DSN)in a job, it fails with the above errors. I have set the 32 Bit flag in the Job Step. The job consists of just 1 step to execute the package with one data flow task.

I would appreciate any hints.

Cheers,

Sascha
Post #1519551
Posted Wednesday, December 4, 2013 4:23 AM
SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Wednesday, April 16, 2014 6:59 AM
Points: 232, Visits: 159
Hi, I assume that you are using the same connection also on the server, check the data source username and password, also where have you stored the password for accessing this data source? Check this things...
Post #1519556
Posted Monday, December 9, 2013 5:22 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: General Forum Members
Last Login: Wednesday, May 14, 2014 11:09 PM
Points: 1, Visits: 70
sascha.finsch 98465 (12/4/2013)
Hi all,

I am currently setting up a SQL Server 2012 environment. In order to retrieve data from legacy systems I need to access mySQL servers.

In a first rough draft I bought a load package, that simply has a data flow task to copy data from one mysql table to a sql server table.

While running it manually in Visual Studio on the MS SQL Server, it works without errors. However, when I deploy the package I get the follwoing error messages:

"Data Flow Task:Error: ODBC Source failed validation and returned error code 0x80004005."
...
"Package:Error: An ODBC error -1 has occurred."
...
"Data Flow Task:Error: ODBC Source failed validation and returned error code 0x80004005."

I set up the mySQL connection with ODBC Admin 32 Bit as a User DSN (but also tested with system DSN, it does not work with that in the package), when I click Test (either User or System) I get Test Connection Succeeded (64 Bit is not an option with the mySQL servers)

I used those connections in the package. Again, when I run the package from Visual Studio, it works with the User DSN, with System DSN it fails with the same errors.
When I try to run it (USer DSN)in a job, it fails with the above errors. I have set the 32 Bit flag in the Job Step. The job consists of just 1 step to execute the package with one data flow task.

I would appreciate any hints.

Cheers,

Sascha
Post #1521032
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse