Skip to Content.
Sympa Menu

freetds - Re: query on tsql to use hostname

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: John Seers <John.Seers AT uk.lionbioscience.com>
  • To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
  • Subject: Re: query on tsql to use hostname
  • Date: Mon, 19 Aug 2002 16:22:27 +0100


Abhi

Have you managed to fix this?

I have had this problem when using the snapshot when previously it was
working using the 0.53 release.

Could you let me know if You find a fix? I tried the change suggested to
change the freetds.conf file (login not logins) but that did not fix it.


Thanks.


John Seers




Abhilash_Shanmugham wrote:
>
> I am trying to use the tsql utility that comes with the freeTDS
>
> MY scenario is like this
> I have MS SQL 2000 running on my network
> and I have freetds installed in RedHat 7.2 System
> if I try
> [root@localhost bin]# ./tsql -Sccr3mcg109 -H172.18.57.40 -p1433 -Usa -Pgnu
> I am able to connect and able to query
> well now if i try with the host name
>
> [root@localhost bin]# ./tsql -Sccr3mcg109 -Usa -Pgnu
> Unknown marker: 0!!
> There was a problem connecting to the server
>
> My entry in the /usr/local/freetds/
> [ccr3mcg109]
> host=172.18.57.40
> port = 1433
> tds version = 7.0
> try domain logins = no
> try server logins = yes
> nt domain = ccr
>
> I looked up the /tmp/freetds.log
>
> 2002-08-19 12:19:47 Connecting addr 172.18.57.40 port 1433
> 2002-08-19 12:19:47 inside tds_process_login_tokens()
> 2002-08-19 12:19:47 inside tds_process_default_tokens() marker is 0
>
> Can you tell me where I have made a mistake in the freetds.conf file entry .
>
> Cheers and Regards
> Abhilash
>
> **************************************************************************
> This email (including any attachments) is intended for the sole use of the
> intended recipient/s and may contain material that is CONFIDENTIAL AND
> PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
> distribution or forwarding of any or all of the contents in this message is
> STRICTLY PROHIBITED. If you are not the intended recipient, please contact
> the sender by email and delete all copies; your cooperation in this regard
> is appreciated.
> **************************************************************************
>
> ---
> You are currently subscribed to freetds as:
> [John.Seers AT uk.lionbioscience.com]
> To unsubscribe, forward this message to $subst('Email.Unsub')
begin:vcard 
n:Seers;John
tel;cell:07900 498885
tel;fax:01223 224701
tel;home:01603 660746
tel;work:01223 224729
x-mozilla-html:FALSE
adr:;;;;;;
version:2.1
email;internet:John.Seers AT uk.lionbioscience.com
fn:John Seers
end:vcard



Archive powered by MHonArc 2.6.24.

Top of Page