Skip to main content

MySqlConnectionParameters(String, String, String, String) Constructor

Initializes a new instance of the MySqlConnectionParameters class.

Namespace: DevExpress.DataAccess.ConnectionParameters

Assembly: DevExpress.DataAccess.v23.2.dll

NuGet Packages: DevExpress.DataAccess, DevExpress.Win.PivotGrid, DevExpress.Win.TreeMap

Declaration

public MySqlConnectionParameters(
    string serverName,
    string databaseName,
    string userName,
    string password
)

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