sql server - What could be wrong with my RODBC configuration? -
i have been working several hours @ getting rodbc connected sql server 2012 on osx yosemite using rodbc , unixodbc. error receive in r quite generic:
> odbcdriverconnect("dsn=istsql;uid=sa;pwd=***") [1] -1 warning messages: 1: in odbcdriverconnect("dsn=istsql;uid=sa;pwd=***") : [rodbc] error: state ±6s, code 20013, message 2: in odbcdriverconnect("dsn=istsql;uid=sa;pwd=***") : [rodbc] error: state ±6s, code 0, message 3: in odbcdriverconnect("dsn=istsql;uid=sa;pwd=***") : odbc connection failed warning messages: 1: in strsplit(msgs[i], "\n") : input string 1 invalid in locale 2: in strsplit(msgs[i], "\n") : input string 1 invalid in locale
my /etc/freetds.conf
file includes following:
[istsql] host = ip.address port = 1433 tds version = 8.0
my /etc/odbcinst.ini
file follows:
[mssql] description = microsoft sql server driver driver = /usr/local/cellar/freetds/0.95.8/lib/libtdsodbc.so usagecount = 1
and /etc/odbc.ini
file follows:
[istsql] driver = mssql servername = istsql port = 1433 database = tms tds_version = 8.0
i can connect database command line via tsql
command , isql
command. have idea how might troubleshoot issue or find more detailed error logs?
for better error messages, note in ?warning
:
warnings truncated 'getoption("warning.length")' characters, default 1000, indicated '[... truncated]'.
that might better info debugging.
Comments
Post a Comment