[fpc-pascal] Connecting to a mariadb server from a Free Pascal Process using Devaun
Michael Van Canneyt
michael at freepascal.org
Sun May 24 16:10:59 CEST 2026
On Sat, 23 May 2026, Terry A. Haimann via fpc-pascal wrote:
>
> I tried to set my CConn variable as you suggested:
>
> CConn.SkipLibraryVersionCheck := True;
>
> I did this both on a true blue Debian system and the Devaun system
>
> tbone at debian:~/Documents/fpc/Testing$ uname -a
> Linux debian 6.1.0-33-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.133-1 (2025-04-10) x86_64 GNU/Linux
> tbone at debian:~/Documents/fpc/Testing$ fpc TstAccessingMySql.pas
> Free Pascal Compiler version 3.2.2+dfsg-20 [2023/03/30] for x86_64
> Copyright (c) 1993-2021 by Florian Klaempfl and others
> Target OS: Linux for x86-64
> Compiling TstAccessingMySql.pas
> TstAccessingMySql.pas(15,9) Error: identifier idents no member "SkipLibraryVersionCheck"
> TstAccessingMySql.pas(37) Fatal: There were 1 errors compiling module, stopping
> Fatal: Compilation aborted
> Error: /usr/bin/ppcx64 returned an error exitcode
>
> The connection variable is defined as a TSqlConnector and if one looks up a TSqlConnector in online documents
> I do not see any variable called SkipLibraryVersionCheck -- https://www.freepascal.org/docs-html/fcl/sqldb/tsqlconnector.html.
That is because it only exists on the mysql connection, since MySQL is the connection presenting all the problems.
The cross-db TSQLConnector does not have this connection-specific property.
Michael.
More information about the fpc-pascal
mailing list