MyDAC

TMyConnection Properties

Properties of the TMyConnection class.

For a complete list of the TMyConnection class members, see the TMyConnection Members topic.

Public

Name Description

ClientVersion (inherited from TCustomMyConnection)

Contains the version of the MySQL Client library.

ConnectDialog (inherited from TCustomDAConnection)

Allows to link a TCustomConnectDialog component.

ConnectionTimeout (inherited from TCustomMyConnection)

Used to specify the amount of time to attempt to establish a connection.

ConnectString (inherited from TCustomDAConnection)

Used to specify the connection information, such as: UserName, Password, Server, etc.

ConvertEOL (inherited from TCustomDAConnection)

Allows customizing line breaks in string fields and parameters.

InTransaction (inherited from TCustomDAConnection)

Indicates whether the transaction is active.

IsolationLevel (inherited from TCustomMyConnection)

Used to specify extent to which all outside transactions interfere with subsequent transactions of current connection.

LastWarningCount (inherited from TCustomMyConnection)

Used to get the number of warnings resulting from the execution of the most recent statement.

LoginPrompt (inherited from TCustomDAConnection)

Specifies whether a login dialog appears immediately before opening a new connection.

Pooling (inherited from TCustomDAConnection)

Enables or disables using connection pool.

PoolingOptions (inherited from TCustomDAConnection)

Specifies the behaviour of connection pool.

ServerVersion (inherited from TCustomMyConnection)

Holds the version of MySQL server.

ThreadId (inherited from TCustomMyConnection)

Used to return the thread ID of the current connection.

Published

Name Description

Connected

Used to establish a database connection.

Database

Used to specify the database name.

HttpOptions

Holds a THttpOptions object that contains settings for HTTP connection.

IOHandler

Used to assign an external component for communication between MyDAC and MySQL server.

Options

Specifies the behaviour of TMyConnection object.

Password

Used to specify the password.

Port

Used to specify the port number for a TCP/IP connection.

Server

Used to specify the server to connect to.

SSLOptions

Used to set the properties required for protected SSL connection with the server.

Username

Used to specify the username.

See Also

© 1997-2022 Devart. All Rights Reserved. Request Support DAC Forum Provide Feedback