1
0
mirror of https://github.com/Bayselonarrend/OpenIntegrations.git synced 2025-11-25 22:12:29 +02:00
Files
OpenIntegrations/docs/en/examples/MySQL/CreateConnection.txt

22 lines
656 B
Plaintext
Raw Normal View History

2025-03-27 20:05:59 +03:00
 Address = "127.0.0.1";
Login = "bayselonarrend";
Password = "12we...";
Base = "";
ConnectionString = OPI_MySQL.GenerateConnectionString(Address, Base, Login, Password);
Result = OPI_MySQL.CreateConnection(ConnectionString);
OPI_MySQL.CloseConnection(Result);
2025-04-02 14:56:42 +03:00
// With TLS
Address = "api.athenaeum.digital";
Port = "3307";
ConnectionString = OPI_MySQL.GenerateConnectionString(Address, Base, Login, Password, Port);
TLSSettings = OPI_MySQL.GetTlsSettings(False);
Result = OPI_MySQL.CreateConnection(ConnectionString, TLSSettings);
OPI_MySQL.CloseConnection(Result);