Discussion:
[fpc-pascal] SQLDB: Set MySQL SkipVersionCheck in TSQLConnector
Luis Henrique via fpc-pascal
2021-05-14 13:42:33 UTC
Permalink
_______________________________________________
fpc-pascal maillist - fpc-***@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Michael Van Canneyt via fpc-pascal
2021-05-14 15:22:30 UTC
Permalink
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.
Luis Henrique via fpc-pascal
2021-05-14 16:46:55 UTC
Permalink
_______________________________________________
fpc-pascal maillist - fpc-***@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Loading...