[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mariadb TLS/SSL error


Le 26/09/2025 à 13:27, Benoît Minisini a écrit :
Le 26/09/2025 à 13:21, Benoît Minisini a écrit :

You can set the 'GB_DB_MYSQL_NOSSL' environment variable to "1" to disable SSL. But not all versions of MySQL/MariaDB support disabling SSL (you will get a warning message). This environment variable must be set before opening the connection of course.

Regards,


Otherwise the 'Connection.Options' property allows to specify a lot of MySQL/MariaDB connection options.

You must look into the 'gb.db.mysql/src/options.h' Gambas source code file to see all supported options.

Regards,


For example:

MyConnection.Options["SSL_MODE"] = "disabled"

will give you the same effect as setting the environment variable.

Regards,

--
Benoît Minisini.


References:
mariadb TLS/SSL error"Wim Geraets" <it@xxxxxx>
Re: mariadb TLS/SSL errorBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: mariadb TLS/SSL errorBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>