ODBCParameters » History » Version 4
bford -, 11/20/2006 05:48 PM
1 | 1 | bford - | = ODBC options = |
---|---|---|---|
2 | |||
3 | This is used in the unixodbc.ini or the Win32 Data Sources DSN. |
||
4 | |||
5 | {{{ |
||
6 | 4 | 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 | 2 | bford - | * 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 | 4 | bford - | CLIENT_ENCODING=[select] - encoding on client -- server will automatically convert all text data to this encoding. |
19 | USE_BUFFERING = [Y|N] - buffer result on client side or not |
||
20 | 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 - | }}} |