简体   繁体   中英

SSIS Unable to connect to any of the specified MySQL hosts

From SSIS data tools we have a connection to mysql database with ADO.NET source component, with the following connection sting: server=123.123.123.123;user id=username;database=databasename;connectiontimeout=9000;

RetainSameConnection:False SupportsDTCTransations: True

The problem is that the schedules jobs and the manual executed jobs are failing randomly (50%-50% ) with the following message Error: ADO NET Source has failed to acquire the connection with the following error message: "Unable to connect to any of the specified MySQL hosts.".

The problem was that the admins added a second connection with a load balancer. For the 1st connection (old) the IP was approved but the 2nd connection (new) the IP was not approved so, every time it was switching to the new connection thru the load balancer the connection was failing.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM