Project

General

Profile

ODBCParameters » History » Version 5

bford -, 11/20/2006 05:48 PM

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