The following table lists the connection string parameters for MySQL.
| Parameter | Description |
|---|---|
|
|
Serves to supply the server name for login. |
|
|
Used to specify the port number for the connection. |
|
|
Used to supply a user name for login. |
|
|
Used to supply a password for login. |
|
|
Used to set the name of the database |
Advanced Settings |
|
|
|
To retrieve metadata, not all parameters according to MSDN can accept a null value. If |
|
|
|
AnsiQuotesMode |
Specifies how the ANSI_QUOTES value is handled in the sql_mode variable. The possible values are:
Allow
Forcefully include the
ANSI_QUOTES value in the sql_mode variable regardless of the value on the server.
Denied
Forcefully exclude the
ANSI_QUOTES value in the sql_mode variable regardless of the value on the server.
Default
Use the
ANSI_QUOTES value of the sql_mode variable regardless of the value on the server.
|
|
The time (in seconds) to wait for a connection to open before terminating an attempt. The default value is |
IP Version |
The Internet Protocol Version.
ivIPv4
The default value. Internet Protocol Version 4 (IPv4) is used.
ivIPv6
Internet Protocol Version 6 (IPv6) is used.
ivIPBoth
Either Internet Protocol Version 6 (IPv6) or Version 4 (IPv4) is used.
Note: When the property is set to
ivIPBoth, a connection attempt is made via IPv6 if it is enabled in the operating system. If the connection attempt fails, a new connection attempt is made via IPv4.
|
|
|
Used to set the behavior corresponding to the ODBC specification version that a third-party tool expects. The behavior of ODBC driver can be changed by setting a value for the
|
|
|
Used to specify the number of seconds that the execution of an SQL query can take before it is terminated and an exception is raised. If the value is |
|
|
Used to prevent data from being modified, if set to |
|
|
Enables the use of local regional settings when converting numbers to strings. |
|
|
Enables the use of local regional settings when converting dates and times to strings. |
|
|
Sets the string value types returned by the driver as
The parameter value should be changed if any third-party tool supports only |
Mapping TimeStamp as VarChar
|
Used to convert TIMESTAMP values to VARCHAR values. The default value is False.
|
|
|
Used to set the character set that ODBC driver for MySQL uses to read and write character data. |
|
|
Informs server that all data between client and server sides will be passed in Utf8 coding. Setting this option converts all fields of the |
|
|
Used to apply compression on transferring data. Setting this property to |
|
|
Permit |
|
DRIVER={Devart ODBC Driver for MySQL};User ID=root;Password=root;Data Source=localhost;Database=test |