Project

General

Profile

ODBCParameters » History » Version 3

bford -, 10/09/2006 11:13 AM

1 1 bford -
= ODBC options =
2
3
This is used in the unixodbc.ini or the Win32 Data Sources DSN.
4
5
{{{
6 2 bford -
Description[string]     - description of DSN ( random string )
7
Driver[string]          - name of Driver ( Mammoth ODBC )
8
DATABASE[string]        - name of database to connect to
9
SERVER[string]          - ip or hostname of Database-server
10
UID[string]             - name of database-user for connection
11
PWD[string]             - password for database-user for connection
12
PORT[int]               - port to connect to
13
CONNECT_TIMEOUT[int]    - how long wait server unswer on connect till consider it failed.
14
USE_SSL[select]         - How to deal with SSL:
15
   * REQUIRE            - server must accept SSL, if no - error
16
   * PREFFER            - first try to connect with SSL, if unable - try no-SSL connection
17
   * IGNORE             - connect without SSL
18
CLIENT_ENCODING[select] - encoding on client -- server will automatically convert all text data to this encoding.
19 3 bford -
USE_BUFFERING   [Y|N]   - buffer result on client side or not
20 2 bford -
SSL_CERTIFICATE[string] - path to SSL certificate file
21
SSL_PRIVATE_KEY[string] - your SSL private key
22
SSL_PASSPHRASE[string]  - your SSL password phrase 
23 1 bford -
}}}