[fpc-pascal] Connecting to a mariadb server from a Free Pascal Process using Devaun

Terry A. Haimann terry at haimann.us
Sat May 23 11:16:46 CEST 2026


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.

Terry
 
-- 
Terry A. Haimann <terry at haimann.us>


More information about the fpc-pascal mailing list