SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Eroor connecting from SSIS 2012 to mySQL databases


Eroor connecting from SSIS 2012 to mySQL databases

Author
Message
sascha.finsch 98465
sascha.finsch 98465
Grasshopper
Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)Grasshopper (15 reputation)

Group: General Forum Members
Points: 15 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
andrea.gnemmi
andrea.gnemmi
Old Hand
Old Hand (305 reputation)Old Hand (305 reputation)Old Hand (305 reputation)Old Hand (305 reputation)Old Hand (305 reputation)Old Hand (305 reputation)Old Hand (305 reputation)Old Hand (305 reputation)

Group: General Forum Members
Points: 305 Visits: 164
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...
tanweer.cs
tanweer.cs
Forum Newbie
Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)Forum Newbie (7 reputation)

Group: General Forum Members
Points: 7 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

Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search