2025-06-29 14:35:33 +03:00
|
|
|
Address = "127.0.0.1";
|
2025-06-11 18:49:55 +03:00
|
|
|
Login = "bayselonarrend";
|
2025-06-29 14:35:33 +03:00
|
|
|
Password = "12we...";
|
2025-06-11 18:49:55 +03:00
|
|
|
|
|
|
|
|
Base = "testbase1";
|
|
|
|
|
Table = "testtable";
|
|
|
|
|
Name = "new_field";
|
|
|
|
|
DataType = "MEDIUMTEXT";
|
|
|
|
|
|
|
|
|
|
ConnectionString = OPI_MySQL.GenerateConnectionString(Address, Base, Login, Password);
|
|
|
|
|
|
2025-07-10 19:46:33 +03:00
|
|
|
// When using the connection string, a new connection is initialised,
|
|
|
|
|
// which will be closed after the function is executed.
|
|
|
|
|
// If several operations are performed, it is desirable to use one connection,
|
|
|
|
|
// previously created by the CreateConnection function()
|
2025-06-11 18:49:55 +03:00
|
|
|
Result = OPI_MySQL.AddTableColumn(Table, Name, DataType, ConnectionString);
|