MySqlConnectionParameters(String, String, String, String) Constructor

Initializes a new instance of the MySqlConnectionParameters class.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v20.2.dll

Declaration

public MySqlConnectionParameters(
    string serverName,
    string databaseName,
    string userName,
    string password
)
Public Sub New(
    serverName As String,
    databaseName As String,
    userName As String,
    password As String
)

Parameters

Name Type Description
serverName String

A String that specifies the name of the MySQL server to which the connection should be established. This value is assigned to the SqlServerConnectionParametersBase.ServerName property.

databaseName String

A String that specifies the name of the database that contains the required data. This value is assigned to the SqlServerConnectionParametersBase.DatabaseName property.

userName String

A String that specifies the user name used to authenticate to the MySQL server. This value is assigned to the SqlServerConnectionParametersBase.UserName property.

password String

A String that specifies the password used to authenticate to the MySQL server. This value is assigned to the SqlServerConnectionParametersBase.Password property.

See Also