Re: [sqlalchemy] TLS 1.2

2023-03-28 Thread Mike Bayer
this is a driver issue so you'd need to get specifics from the driver you're using, such as mysqlclient or pymysql. per https://dev.mysql.com/doc/c-api/8.0/en/c-api-encrypted-connections.html it looks like "TLS_VERSION" create_engine("mysql+mysqldb://...?ssl=true", connect_args={"ssl": {"tls_

[sqlalchemy] TLS 1.2

2023-03-27 Thread Patrick Bruce
I am connecting to a MySQL db using sqlalchemy and TLS 1.2 is enforced server side. I connect by setting my URI to the correct connection string and adding the ?ssl=true flag at the end. However I am getting an error that the TLS version does not meet the minimum requirements of the server. My