FreeTDS User Guide: A Guide to Installing, Configuring, and Running FreeTDS
Prev | Chapter 4. Preparing ODBC | Next

# ODBC-only configuration

An ODBC-only configuration relies solely on `odbc.ini` for server properties. Other FreeTDS drivers don't know about `odbc.ini`.

Example 4-4. Sample ODBC-only `odbc.ini` file

    [ODBC Data Sources][1]
     JDBC = Sybase JDBC Server

    [JDBC]
    Driver          = /usr/local/freetds/lib/libtdsodbc.so
    Description     = Sybase JDBC Server
    Trace           = No
    Server          = jdbc.sybase.com
    Database        = pubs2
    Port            = 4444
    TDS_Version     = 5.0

    [Default]
    Driver          = /usr/local/freetds/lib/libtdsodbc.so

### Notes

[1] | Several DSNs might be listed here. In this example, we have only one, "JDBC". It matches the `[JDBC]` entry later in the file.

Prev | Home | Next
DSN-less configuration | Up | ODBC-combined configuration