linux ubunt 下安装odbc支持

vim /etc/odbc.ini
 
[freeswitch]
Driver          = mysql
SERVER          = 192.168.10.100
PORT            = 3306
DATABASE        = freeswitch
OPTION          = 67108864
USER            = root
PASSWORD        = 123456

vim /etc/odbcinst.ini

[MySQL]
Description     = MySQL Driver
Driver          = /usr/lib/i386-linux-gnu/odbc/libmyodbc.so
Setup           = /usr/lib/i386-linux-gnu/odbc/libodbcpsqlS.so
UsageCount      = 1
FileUsage       = 1
Threading       = 0

你可能感兴趣的:(linux ubunt 下安装odbc支持)