Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2021-05

SQLDB: Set MySQL SkipVersionCheck in TSQLConnector

3 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael Van Canneyt
to Luis Henrique
Luis Henrique wrote 6 lines
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.