After enabling auto update on one of our MySQL db, hosted in AWS, a new update was made to v8.0.28. Since then, we are not able to connect to the db, using the libname statement:
LIBNAME <libname_name> MYSQL SERVER='<server>' DATABASE='<db_name>' USER='<user>' PASSWORD='<password>';
This is the rror message:
ERROR: Error trying to establish connection: SSL connection error: unknown error number
ERROR: Error in the LIBNAME statement.
This code had always worked, even without the port. It was working since we build our ETL framework, beginning 2021.
Fyi, using MySQL Workbench CE we can establish the connection, without any problem (no SSL is being used).
In the meantime, we realise that this can be related with the fact that MySQL v8.0.28 deprecated TLSv1 and TLSv1.1:
MySQL :: MySQL 8.0 Reference Manual :: 6.3.2 Encrypted Connection TLS Protocols and Ciphers
After realising this, we have updated our MySQL client to v8.0.30, including the MySQL Connector/Net. However, even after updating all MySQL tools to their newest versions, we still can't connect to the db using the libname. Btw, we are sure that the mysql client is using TLSv1.2 and v1.3, because we checked it directly in MySQL Workbench CE using the code:
SHOW GLOBAL VARIABLES LIKE 'tls_version';
Which returned:
Before downgrading the MySQL versions, we would like to challenge you with this issue. Is this familiar to anyone?
Thanks in advance! 😉
I suggest that you open a track with SAS tech support to assist you in your trouble shooting.
Since I suspect not many of the users of this forum have the exact the same set up as you.
Hi,
Did you finally solve the problem ?
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.