MySQLCommunityServer.ConnectSSL

From Xojo Documentation

Method

MySQLCommunityServer.ConnectSSL(key as FolderItem, certificate as FolderItem, authority as FolderItem, authorityPath as FolderItem, cipher as String) As Boolean

New in 2011r4

Supported for all project types and targets.

Connects securely to the database server and opens the database for access.

Notes

Before proceeding with database operations, test to be sure that ConnectSSL returns True.

  • certificate is the FolderItem containing the certificate file.
  • authority is the FolderItem containing the certificate authority file.
  • authorityPath is a FolderItem where the trusted SSL CA certificates in pem format are located.
  • cipher is a String containing list of permissible ciphers to use for SSL encryption.