Constants: MYSQLDAM-Connect Options

Parent: $root.$constants

kMySqlOptBindThe network interface from which to connect to the server- used when the client host has multiple network interfaces. The argument is a host name or IP address
kMySqlOptCompressUse the compressed client/server protocol
kMySqlOptConnectAttrAddThis option adds an attribute key-value pair to the current set of connection attributes to pass to the server at connect time
kMySqlOptConnectAttrDeleteDeletes the specified key and its value from the current set of connection attributes to pass to the server at connect time
kMySqlOptConnectAttrResetThis option resets (clears) the current set of connection attributes to pass to the server at connect time
kMySqlOptConnectTimeoutConnect timeout in seconds
kMySqlOptDataTruncationEnable or disable reporting of data truncation errors for prepared statements (enabled by default)
kMySqlOptDefaultAuthThe name of the authentication plugin to use
kMySqlOptEnableClearTextPluginEnable the mysql_clear_password cleartext authentication plugin
kMySqlOptGetServerPublicKeyEnables the client to request from the server the public key required for RSA key pair-based password exchange
kMySqlOptHandleExpiredPasswordsIndicates whether the client can handle expired passwords
kMySqlOptInitCommandCommand to execute when connecting to the MySQL server
kMySqlOptLocalInifileIf param <> 0, the command LOAD LOCAL INFILE is enabled
kMySqlOptMaxAllowedPacketThis option sets the client-side maximum size of the buffer for client/server communication. Applies to the current session
kMySqlOptNamedPipeUse named pipes to connect to a MySQL server on NT
kMySqlOptNetBufferLengthThis option sets the client-side buffer size for TCP/IP and socket communication
kMySqlOptPluginDirThe directory in which to look for client plugins
kMySqlOptProtocolType of protocol to use (mysql_protocol_type)
kMySqlOptReadDefaultFileRead options from the named option file instead of from 'my.cnf'
kMySqlOptReadDefaultGroupRead options from the named group from 'my.cnf' or the file specified with kMySqlReadDefaultFile
kMySqlOptReadTimeoutTimeout for reads from server (works currently only on Windows on TCP/IP connections)
kMySqlOptReconnectEnable or disable automatic reconnection to the server if the connection is found to have been lost
kMySqlOptResultsetMetadataEnable/disable additional result set metadata
kMySqlOptRetryCountThe retry count for I/O-related system calls that are interrupted while connecting to the server or communicating with it
kMySqlOptServerPublicKeyThe path name to a file in PEM format containing a client-side copy of the public key required by the server for RSA key pair-based password exchange
kMySqlOptSetCharsetDirThe pathname to the directory that contains character set definition files
kMySqlOptSetCharsetNameThe name of the character set to use as the default character set
kMySqlOptSharedMemBaseNot used
kMySqlOptSslCaThe path name of the Certificate Authority (CA) certificate file. This option, if used, must specify the same certificate used by the server
kMySqlOptSslCaPathThe path name of the directory that contains trusted SSL CA certificate files
kMySqlOptSslCertThe path name of the client public key certificate file
kMySqlOptSslCipherComma-separated list of permissible ciphers for SSL encryption
kMySqlOptSslCrlThe path name of the file containing certificate revocation lists
kMySqlOptSslCrlPathThe path name of the directory that contains files containing certificate revocation lists
kMySqlOptSslFipsModeControls whether to enable FIPS mode on the client side
kMySqlOptSslKeyThe path name of the client private key file
kMySqlOptSslModeThe security state to use for the connection to the server: SSL_MODE_DISABLED(1), SSL_MODE_PREFERRED(2), SSL_MODE_REQUIRED(3), SSL_MODE_VERIFY_CA(4), SSL_MODE_VERIFY_IDENTITY(5)
kMySqlOptTlsVersionWhich protocols the client permits for encrypted connections. The value is a list of one or more comma-separated protocol versions
kMySqlOptUseResultNot used
kMySqlOptWriteTimeoutTimeout for writes to server (works currently only on Windows on TCP/IP connections)