How to test a connection to a remote SQL 2005 with

2020-06-12 02:21发布

We are having some connectivity issues from a client application connecting to a remote SQL Server 2005 (named instance).

What are some ways to test connectivity from the client machine (Windows XP) that doesn't have SSMS or Query analyzer installed?

I would like to see if the issue is related to the specific application or is it a more general connectivity to the remote sql server from the specific client.

4条回答
【Aperson】
2楼-- · 2020-06-12 03:01

I sometimes use the Data sources/ODBC control panel item as a "GUI" to test a DB connection.

查看更多
姐就是有狂的资本
3楼-- · 2020-06-12 03:11

On windows you can create empty test.udl file and open it. Connection wizard should appear. It allows you to create a connection to sql server and other databases.

See this post for more details: Test remote SQL connectivity EASILY!

查看更多
Explosion°爆炸
4楼-- · 2020-06-12 03:21

Can you create an ODBC connection via admin tools to the SQL Server and use the "Test Connection" function in there?

查看更多
再贱就再见
5楼-- · 2020-06-12 03:27

If you just want to test network connectivity, then telnet is a simple way.

telnet ip.of.sql.server 1433

Here's more in-depth information on troubleshooting connectivity issues (including using telnet)

http://support.microsoft.com/kb/827422

查看更多
登录 后发表回答