ODBC-only configuration
Prev | Chapter 4. Preparing ODBC | Next

## ODBC-only configuration

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

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

    	[ODBC Data Sources][12]
    	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

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

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