general:linux:unixodbc
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| general:linux:unixodbc [2021/12/16 13:23] – [More FreeTDS settings] sunkan | general:linux:unixodbc [2022/04/11 08:05] (current) – sunkan | ||
|---|---|---|---|
| Line 12: | Line 12: | ||
| < | < | ||
| root@web:~# odbcinst -i -s -l -r << EOF | root@web:~# odbcinst -i -s -l -r << EOF | ||
| - | > [DSNName] | + | [DSNName] |
| Driver | Driver | ||
| Description | Description | ||
| Line 30: | Line 30: | ||
| Trace = Yes | Trace = Yes | ||
| Trace File = / | Trace File = / | ||
| + | </ | ||
| + | |||
| + | Or by setting DumpFile in / | ||
| + | < | ||
| + | [THE_DSN_NAME] | ||
| + | ... | ||
| + | DumpFile=/ | ||
| + | </ | ||
| + | |||
| + | ===== Connection pooling ===== | ||
| + | Connection pooling can be turned on by adding Pooling=Yes and CPTimeout > 0 in / | ||
| + | < | ||
| + | [ODBC] | ||
| + | ... | ||
| + | Pooling | ||
| + | |||
| + | [FreeTDS] | ||
| + | ... | ||
| + | CPTimeout=120 | ||
| </ | </ | ||
general/linux/unixodbc.1639661024.txt.gz · Last modified: 2021/12/16 13:23 by sunkan