Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

tsql connection problem to Sybase

Status
Not open for further replies.

zum

Technical User
Mar 31, 2003
148
0
0
US
I've installed freetds-0.63_1. I'm trying to connect to SYBASE 12.5 server. I keep getting this error:

locale is "C"
locale charset is "US-ASCII"
Msg 20004, Level 9, State 0, Server OpenClient, Line 0
Read from SQL server failed.
Msg 20014, Level 9, State 0, Server OpenClient, Line 0
Login incorrect.
There was a problem connecting to the server


I'm able to connect to my Sybase server from other machines using tsql 62.3. Is there different configurations that need to be done using the newer version?
 
ptheriault,

I did read that link you sent. Thanks. I just uninstalled my current version of freetds and installed an older version. The same version that is working on my other freebsd servers.
Still no luck though.

Version: freetds v0.62.3
MS db-lib source compatibility: no
Sybase binary compatibility: unknown
Thread safety: no
iconv library: no
TDS version: 5.0
iODBC: no
unixodbc: no
 
I just noticed that when I do a tsql -C command the output shows: iconv library: no. It should say "yes". I'm not sure why it doesn't. I have iconv installed.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top