如何在没有 SSMS 的情况下测试与远程 SQL 2005 的连接?
我们在连接到远程 SQL Server 2005(命名实例)的客户端应用程序中遇到了一些连接问题。
有哪些方法可以测试未安装 SSMS 或查询分析器的客户端计算机 (Windows XP) 的连接?
我想看看问题是否与特定应用程序有关,或者是否是从特定客户端到远程 SQL 服务器的更一般的连接。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
如果您只是想测试网络连接,那么 telnet 是一种简单的方法。
telnet ip.of.sql.server 1433
以下是有关解决连接问题(包括使用 telnet)的更深入信息
http ://support.microsoft.com/kb/827422
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
您可以通过管理工具创建到 SQL Server 的 ODBC 连接并使用其中的“测试连接”功能吗?
Can you create an ODBC connection via admin tools to the SQL Server and use the "Test Connection" function in there?
我有时使用数据源/ODBC 控制面板项作为“GUI”来测试数据库连接。
I sometimes use the Data sources/ODBC control panel item as a "GUI" to test a DB connection.
在 Windows 上,您可以创建空的 test.udl 文件并将其打开。
应出现连接向导。
它允许您创建到 sql server 和其他数据库的连接。
有关更多详细信息,请参阅此帖子: 轻松测试远程 SQL 连接!
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!