You've already forked OpenIntegrations
mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2026-06-16 04:03:20 +02:00
22 lines
699 B
Plaintext
Vendored
22 lines
699 B
Plaintext
Vendored
Address = FunctionParameters["PG_IP"];
|
|
Login = "bayselonarrend";
|
|
Password = FunctionParameters["PG_Password"];
|
|
Base = "";
|
|
|
|
ConnectionString = OPI_MySQL.GenerateConnectionString(Address, Base, Login, Password);
|
|
Result = OPI_MySQL.CreateConnection(ConnectionString);
|
|
|
|
OPI_MySQL.CloseConnection(Result);
|
|
|
|
// With TLS
|
|
|
|
Address = FunctionParameters["PG_IP"];
|
|
Port = "3307";
|
|
|
|
ConnectionString = OPI_MySQL.GenerateConnectionString(Address, Base, Login, Password, Port);
|
|
TLSSettings = OPI_MySQL.GetTlsSettings(True);
|
|
|
|
Result = OPI_MySQL.CreateConnection(ConnectionString, TLSSettings);
|
|
|
|
OPI_MySQL.CloseConnection(Result);
|