[Lazarus] TLS connection to MySQL

Koenraad Lelong lazarus2 at de-brouwerij.be
Thu Apr 20 15:07:55 CEST 2023

Op 20/04/2023 om 14:43 schreef Michael Van Canneyt via lazarus:
> TSQLConnector will only pass on any connection parameters you set up to the
> mysql layer.
So I can give parameters for the connection. Are those documented ?
Like I said, to use TLSv1.1 I don't have to do anything.
> If it fails for a particular TLS version, then I think it is more likely 
> that the libmysql.dll is too old (or the openssl lib that it uses) and 
> does not properly support TLSv1.2.
That is possible, but I just updated the server to the latest version 
5.7.42, and I took the libmysql.dll from that.
Is there a way to check the used/needed openssl version ?

I'm using MySQL workbench, and that connects OK via TLSv1.2. So I copied 
it's libssl-1_1-x64.dll to the app-directory. No progress.


More information about the lazarus mailing list