dotConnect for MySQL Documentation
Devart.Data.MySql Namespace / MySqlConnection Class

MySqlConnection Class Properties

For a list of all members of this type, see MySqlConnection members.

Public Properties
 NameDescription
Public PropertyManages EscapeString. It can be set to Enabled, Disabled, or Auto.  
Public PropertyGets or sets charset that will be used on the client side.  
Public PropertyGets the version of MySQL Client library (libmysql.dll or libmysqld.dll).  
Public PropertyGets or sets a value indicating whether to enable transferred data compression.  
Public PropertyOverridden. Gets or sets the string used to open a MySQL connection.  
Public PropertyGets or sets the time to wait while trying to establish a connection before terminating the attempt and generating an error.  
Public Property (Inherited from System.ComponentModel.Component)
Public PropertyGets or sets the name of the current database or the database to be used once a connection is open.  
Public PropertyGets or sets name of the server to which to connect. (Inherited from Devart.Common.DbConnectionBase)
Public PropertyGets or sets a value indicating whether the MySQL client library (libmysql.dll) is be used.  
Public PropertySpecifies, what server will be used to connect - MySQL server or Embedded MySQL server.  
Public PropertyGets or sets name or IP address of host of MySQL database to which to connect.  
Public PropertyGets the version of MySQL server to which to connect.  
Public PropertyGets or sets connection options for HTTP tunneling.  
Public PropertyIndicates whether the connection is enlisted in a distributed transaction. (Inherited from Devart.Common.DbConnectionBase)
Public PropertyGets or sets a value indicating whether a failover operation can be performed after connection breaks.  
Public PropertyGets or sets the name of the component.  
Public PropertyGets or sets a form or other container that the MySqlConnection instance belongs to.  
Public PropertyGets or sets the user's password to connect.  
Public PropertyGets or sets the interval (in seconds) between pinging MySQL server and reopening the connection if required.  
Public PropertyGets or sets port of MySQL server to which to connect.  
Public PropertyGets or sets a MySqlProtocol of the MySqlConnection.  
Public PropertyGets the version of MySQL protocol.  
Public PropertyGets or sets proxy server settings.  
Public Property  
Public PropertyGets a string containing the version of the instance of MySQL to which the client is connected.  
Public Property  
Public Property (Inherited from System.ComponentModel.Component)
Public PropertyGets or sets SshOptions object which is used to establish secure connection with server.  
Public PropertyGets or sets SslOptions object which is used to establish secure connection with server.  
Public PropertyGets the current state of the connection.  
Public PropertyGets or sets a value indicating whether the UTF8 charset will be used.  
Public PropertyObsolete. Use UserId property instead.  
Public PropertyGets or sets the name of the user to connect.  
Top
See Also