Initializes a new instance of the Connection class with MySQL server details.
- Namespace
- DbSyncKit
.MySQL - Containing Type
- Connection
Syntax
public Connection(string server, int port, string database, string userID, string password)
Parameters
Name | Type | Description |
---|---|---|
server | string | The MySQL server name or IP address. |
port | int | The port number for the MySQL server. |
database | string | The name of the MySQL database. |
userID | string | The user ID to authenticate with the MySQL server. |
password | string | The password to authenticate with the MySQL server. |