User Tools

Site Tools


general:linux:unixodbc

This is an old revision of the document!


unixODBC

FreeTDS

Install tdsodbc, unixodbc, odbcinst

Install driver to /etc/odbcinst.ini

# odbcinst -i -d -f /usr/share/tdsodbc/odbcinst.ini
odbcinst: Driver installed. Usage count increased to 1. 
    Target directory is /etc
root@web:~# odbcinst -i -s -l -r << EOF
> [DSNName]
Driver          = FreeTDS
Description     = Describe connection
Server          = hostname_of_server
Database        = Database_Name
Port            = 1433
TDS_Version     = 7.3
ClientCharset   = UTF-8
EOF
odbcinst: Sections and Entries from stdin have been added to ODBC.INI
general/linux/unixodbc.1639659693.txt.gz · Last modified: 2021/12/16 13:01 by sunkan

Donate Powered by PHP Valid HTML5 Valid CSS Run on Debian Driven by DokuWiki