Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
sat29
Contributor
Contributor

Attunity endpoint: Cannot connect MYSQL server

Setup an endpoint of MYSQL server in Attunity, test connection fail with the following message:

Cannot connect to ODBC provider ODBC general error.RetCode: SQL_ERROR SqlState: HY000 NativeError: 2026 Message: [unixODBC][MySQL][ODBC 5.3(w) Driver]SSL connection error: unknown error number ODBC general error.


Internal Parameters has set:
provider : MySQL ODBC 5.3.8 Unicode Driver

 (Try set as either source or target type got the same error)

The Attunity Server and the MYSQL stand in the same segment

But also there has another existing MySQL server which could connected success

 

 

Labels (1)
10 Replies
john_wang
Support
Support

Hello @Sweetie_A ,

Not sure what's the Replicate version and the ODBC client version you are running (we can see it's 5.3 however please let us know the exact build name), this information is helpful to understand the issue further.

Anyway, regarding the specific error below, it looks like certificate problem, the server/client certificate will need to be regenerated using a different common name than what was used for the CA certificate.

  • SYS,GENERAL_EXCEPTION,Cannot connect to ODBC provider,RetCode: SQL_ERROR SqlState: HY000 NativeError: 2026 Message: [MySQL][ODBC 5.3(w) Driver]SSL connection error: error:00000001:lib(0):func(0):reason(1)

A good sample is ERROR 2026 (HY000): SSL connection error: error:00000001:lib(0):func(0):reason(1).

BTW, please take note all the paths in MySQL source endpoint should be a specific file rather than a path only, a sample in my labs:

john_wang_0-1690007365122.png

If the problem persists, the better option is configurating an ODBC DSN and using the DSN access to debug the error. if all works in DSN then it should be fine in Replicate.

Hope this helps.

Regards,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!