freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: "Danny Raetzsch" <danny AT msc.tamu.edu>
- To: "FreeTDS Development Group" <freetds AT lists.ibiblio.org>
- Subject: RE: [freetds] Login Incorrect with MS SQL Server
- Date: Tue, 19 Oct 2004 18:10:42 -0500
The main difficulty here is that this is the first time I've tried to
connect to this server in any way and to make things worse I don't have
access to the server to verify any information myself.
I still have not been able to get a straight answer as to which version
of SQL server they're running but it is my understanding that TDS 4.2
should be able to connect to any SQL server. Is this not correct? At
any rate, I've tried using 7.0 as well and had the same problem.
I had one of the sys admins verify that the username and password I am
using is correct so I'm assuming that is not the cause.
You mentioned some TCP/IP settings on the server may be set wrong. What
settings could I have an admin check that may be causing this problem?
Thanks,
Dan
-----Original Message-----
From: freetds-bounces AT lists.ibiblio.org
[mailto:freetds-bounces AT lists.ibiblio.org] On Behalf Of Frediano Ziglio
Sent: Wednesday, October 13, 2004 12:24 AM
To: FreeTDS Development Group
Subject: Re: [freetds] Login Incorrect with MS SQL Server
Il mer, 2004-10-13 alle 03:03, Danny Raetzsch ha scritto:
> I'm having problems connecting to a Microsoft SQL
> Server. I've been attempting to log in using the
> following tsql command:
>
> ./tsql -H servername.tamu.edu -p 1433 -U **** -P ****
>
> After executing the command I get the following
> message:
>
> locale is "en_US.UTF-8"
> locale charset is "UTF-8"
> 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
>
> My question: is this a result of a bad user name and
> password or is it some other kind of
> authentication/connection problem? I have attached a
> copy of the log file if that will help. I have the
> same problem regardless of which TDS protocol version
> I use, although the compile-time default is set to
> 4.2.
>
Usually it's a username/password problem, perhaps mssql refuse charset
coding... Try with 7.0, it's difficult you have a former version. When
logged in just give "select @@version" command to see mssql version.
> My setup is as follows:
> - SQL Server version: MS SQL Server 2000 (not 100%
> sure but i can find out if needed)
> - FreeTDS version: 0.62.4 (though I've tried 0.60.1
> and 0.63.dev.20040927 with the same result)
> - Redhat 9 intel client
0.60.1 don't support utf8 so probably it's a username/password problem..
Perhaps system administrator changed mssql tcp/ip settings?
freddy77
_______________________________________________
FreeTDS mailing list
FreeTDS AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/freetds
- RE: [freetds] Login Incorrect with MS SQL Server, Danny Raetzsch, 10/19/2004
Archive powered by MHonArc 2.6.24.