Skip to main content

MySqlConnectionParameters Members

Contains parameters used to establish a connection to a MySQL server.

Constructors

Name Description
MySqlConnectionParameters() Initializes a new instance of the MySqlConnectionParameters class with the default settings.
MySqlConnectionParameters(String, String, String, String, Int32) Initializes a new instance of the MySqlConnectionParameters class with the specified settings.
MySqlConnectionParameters(String, String, String, String) Initializes a new instance of the MySqlConnectionParameters class.

Fields

Name Description
DefaultPortNumber The default port for connecting to MySQL databases (3306).

Properties

Name Description
DatabaseName Gets or sets the name of the database that contains the required data. Inherited from SqlServerConnectionParametersBase.
Password Gets or sets the password used to authenticate to a SQL server. Inherited from SqlServerConnectionParametersBase.
PortNumber Specifies the port number for connecting to MySQL databases.
ServerName Gets or sets the name of the SQL server to which the connection should be established. Inherited from SqlServerConnectionParametersBase.
SslMode Specifies the security state of the connection to the server.
UserName Gets or sets the user name used to authenticate to the SQL server. Inherited from SqlServerConnectionParametersBase.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also