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


Job fails after changing IP address


Job fails after changing IP address

Author
Message
Dehqon D.
Dehqon D.
SSC Journeyman
SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)

Group: General Forum Members
Points: 89 Visits: 925
There is a package imports data from MySQL server to SQL Server. The Package connects to the linux server through ODBC connection. But recently MySQL IP address been changed. After changing IP in ODBC connection, the package is still failing to run inside the job. Meanwhile it runs when I run it manually.
I can't figure it out what's going wrong. Tried to create new job, still the same. The error inside the job indicates that it's refering to the old IP address. But within package I didn't include IP address anywhere. It just uses connection through ODBC. Any help is appreciated.

Thanks.
Mackers
Mackers
SSC Veteran
SSC Veteran (239 reputation)SSC Veteran (239 reputation)SSC Veteran (239 reputation)SSC Veteran (239 reputation)SSC Veteran (239 reputation)SSC Veteran (239 reputation)SSC Veteran (239 reputation)SSC Veteran (239 reputation)

Group: General Forum Members
Points: 239 Visits: 499
Are you changing the correct ODBC driver? Have you created a user DSN and are changing that? Do do you have 32 & 64 bit versions of the ODBC driver and are changing the wrong one?

Mack
Dehqon D.
Dehqon D.
SSC Journeyman
SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)SSC Journeyman (89 reputation)

Group: General Forum Members
Points: 89 Visits: 925
You were right Mackers,

All the time I was changing wrong DSN w00t. Forgot that the package works with system DNS only while running in job, and it uses User DSN while running in Visual Studio when you are using 64 bit Server.

Thank you very much.
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