Connection Parameters
The connection parameters for the driver comprise a list of strings in the form KEYWORD=value
, separated by semicolons (‘;
’).The following table enumerates the keywords with their verbose meanings and, where it is not obvious, their possible values.
Keyword | Description | More Information |
---|---|---|
|
Database account, i.e. username |
|
|
||
|
Password |
|
|
||
|
Role |
|
|
Data source name |
|
|
Driver name |
e.g., the string |
|
Database |
Full path to the database as seen by the server, including IP address | server name[/port] for a remote connection.Defaults to the database defined in the DSN. |
|
||
|
Local path to the required |
May be needed if the connection is to be via an embedded server library located in an application folder. |
|
Client-side default character set |
Should be the same as the default character set of the database, if possible;or one that is known to be codepage-compatible. |
|
||
|
Read-only |
Set transactions in this connection to be read-only.The default is read/write. |
|
No wait |
Set transactions in this connection to have NO WAIT lock resolution.The default is WAIT. |
|
Set the lock timeout on WAIT transaction |
Pass the number of seconds to elapse after encountering a lock conflict until a transaction is to return an error.Not valid if the transaction is set for NO WAIT resolution. |
|
Set SQL dialect |
Only 1 or 3 is valid.Normally this would have been set in the DSN.It must match the dialect of the database. |
|
Set on quoted identifiers |
If set in the DSN, the setting should be correct, i.e. already |
|
Set on case-sensitive identifiers |
If set in the DSN, the setting should be correct, i.e. already |
|
Set on auto-quoting identifiers |
If set in the DSN, the setting should be correct, i.e. already |
|
Set on “use schema” |
If set in the DSN, the setting should be correct. |
|
Safe threading |
|
|
File DSN |
Path to a file where the attribute strings from a previous connection are stored.If this string is present, the contents of the file will take priority over the main DSN. |
|
Save DSN |
Path to a file where the attribute strings from this connection, if successful, are to be stored.The password will be saved in encrypted format. |