Skip to Content.
Sympa Menu

freetds - Re: [freetds] isql failure (tsql works) -- server not found

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: jtgalyon AT gmail.com
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] isql failure (tsql works) -- server not found
  • Date: Mon, 03 Sep 2007 01:06:39 -0500

Today I performed a cvs up and now have built the odbc bindings. Thanks
for your help.

Jason

jtgalyon AT gmail.com wrote:
> Is this related to the other post I entered about not being able to
> build odbc for freetds?
>
> Since I had this problem with the packaged version I had (0.63) I was
> hoping that compiling from cvs might have different results. However,
> I can not build from source as for some strange reason (as the other
> post points out) it can not find the sql.h and other related files of
> either iodbc or unixodbc.
>
> Since this is a freetds log and not merely an odbc log I am assuming
> at this point this is a freetds odbc binding problem. Not that of
> either iodbc or unixodbc.
>
> Is this an unsafe assumption? How should I proceed?
>
> Thanks a lot for your help,
> Jason
>
> ZIGLIO, Frediano, VF-IT wrote:
>>> I have seen other posts like this that do not look like they apply.
>>>
>>>
>>> tsql works perfectly but isql always says it can't connect to the data
>>> source. However, this is what I found in the freetds log.
>>> 12:20:18.235235 Starting log file for FreeTDS 0.63
>>> on 2007-08-30 12:20:18 with debug level 99.
>>> 12:20:18.235368 names for ISO-8859-1: ISO-8859-1
>>> 12:20:18.235400 names for UTF-8: UTF-8
>>> 12:20:18.235423 names for UCS-2LE: UCS-2LE
>>> 12:20:18.235443 names for UCS-2BE: UCS-2BE
>>> 12:20:18.235462 iconv to convert client-side data to the "UTF-8"
>>> character set
>>> 12:20:18.235510 tds_iconv_info_init: converting "UTF-8"->"UCS-2LE"
>>> 12:20:18.235543 IP address pointer is NULL
>>> 12:20:18.235570 Server 192.168.1.10 not found!
>>> 12:20:18.235591 tds_free_all_results()
>>>
>>> Why would the server not be found yet work correctly with tsql?
>>>
>>> Thank,
>>> Jason
>>>
>>
>> Simply server concept is different between libTDS (used by tsql) and
>> ODBC (used by isql)
>>
>> freddy77
>> _______________________________________________
>> FreeTDS mailing list
>> FreeTDS AT lists.ibiblio.org
>> http://lists.ibiblio.org/mailman/listinfo/freetds
>>
>>
>





Archive powered by MHonArc 2.6.24.

Top of Page