[fpc-pascal] SQLDB: Set MySQL SkipVersionCheck in TSQLConnector

Michael Van Canneyt michael at freepascal.org
Fri May 14 17:22:30 CEST 2021



On Fri, 14 May 2021, Luis Henrique via fpc-pascal wrote:

> Does Anyone known how to set TMySQLConnectionXX SkipVersionCheck property from TSQLConnector?
>  
> It validates the client version against the server version, which is problematic, as some client libraries are backward compatible and others don't even match any version of the server
> like(https://downloads.mysql.com/archives/c-c/) which reports the client version as 6. x.
>  
> My project must support different database vendors/servers so i cannot use TMySQLConnectionXX directly.

It currently cannot be done from the TSQLConnector. Although we can probably fix that
by allowing to set this property using the parameters. I will add that.

Michael.


More information about the fpc-pascal mailing list