开发者

How to test a connection to a remote SQL 2005 without SSMS?

开发者 https://www.devze.com 2022-12-19 20:51 出处:网络
We are having some connectivity issues from a client application connecting to a remote SQL Server 2005 (named instance).

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 co开发者_运维问答nnectivity to the remote sql server from the specific client.


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


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


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


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!

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号