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:27:30 +0100



Ahbi

I got an improvement running the unittests if I set "TDSVER=4.2". I
configured with TDSVER=7.0.

Can anybody help with this? As I would like to run the snapshot
version. Also I think I have to use TDSVER=7.0 with MS SQL Server 2000 -
is that correct?



Regards.



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