Many users with similar experiences ultimately traced the issue to an outdated database driver.
I would try updating your driver. If that does not work, please share the driver + version, and your connection string / code. On Monday, March 27, 2023 at 2:39:21 PM UTC-4 pdb...@g.clemson.edu wrote: > 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 question is how to force sqlalchemy to connect using TLS 1.2? > > App env: Python 3.6 using Flask > -- SQLAlchemy - The Python SQL Toolkit and Object Relational Mapper http://www.sqlalchemy.org/ To post example code, please provide an MCVE: Minimal, Complete, and Verifiable Example. See http://stackoverflow.com/help/mcve for a full description. --- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sqlalchemy/3478f483-e238-4725-9b01-0b0256f59504n%40googlegroups.com.