all groups > sql server connect > october 2006 >
You're in the

sql server connect

group:

Unable to connect to SQLServer with isql


Unable to connect to SQLServer with isql Michael Zander
10/23/2006 12:00:00 AM
sql server connect:
Hi guys,

i can't connect to my sqlserver 2000 with isql :
isql -Slocalhost -U<username> -P<password>
The sqlserver (no name, displays (LOCAL)) is running on the local box, i can
connect with EnterpriseManager and QueryAnalyzer. Everything seems ok, but
isql cannot connect (error message is something like "SQL Server not found,
or Networkaccess denied; Net-Library error 53: ConnectionOpen (Connect()").
If i look with netstat -a i can see the listeners. Also there is no
error-message in the windows-event-history.
I tried to connect to localhost, local, hostname, 127.0.0.1. But nothing
works.
Does anyone no what the reason can be ?

Thanks a lot,
Michael

Re: Unable to connect to SQLServer with isql Arnie Rowland
10/23/2006 9:20:28 AM
If the server does NOT have SQL Server Authentication enabled, you will have
to use -E instead of -U<username> -P<password>.
--
Arnie Rowland, Ph.D.
Westwood Consulting, Inc

Most good judgment comes from experience.
Most experience comes from bad judgment.
- Anonymous

You can't help someone get up a hill without getting a little closer to the
top yourself.
- H. Norman Schwarzkopf


[quoted text, click to view]

Re: Unable to connect to SQLServer with isql Michael
10/24/2006 12:00:00 AM
Thanks for your help.
That's not the issue, the server uses SQL Server Authentication.
After reinstalling some backups it works fine again, so problem is solved..
;)

Michael


[quoted text, click to view]

AddThis Social Bookmark Button