mySQL and TLS 1.2 on Windows?

i try this morning to run a sample program (the code provide in documentation with my credential) to connect a MariaDb server 10.4 with TLSv1.1,​TLSv1.2,​TLSv1.3 config using MySQLCommunityserver class on xojo.

Compile on Windows 10 (fresh xojo install latest version 2021r2.1). Don’t work.

The same code compile on mac for a mac app work.

the code:

Var db As New MySQLCommunityServer
db.Host = "hostdomain"
db.Port = 3306
db.DatabaseName = "base"
db.UserName = "user"
db.Password = "password"

Try
  db.Connect
  if db.Connect then
    MessageBox("Connected")
  end if
Catch error As DatabaseException
  MessageBox "Connection failed. Error: " + error.Message
End Try

One day it will work, maybe :slight_smile: