我们今天能为您提供什么帮助?

Video: How to test SQL Database Connections with Universal Data Link (UDL)

Article available in these languages:

Issue
This method can be utilized in testing database connectivity/authentication between servers.

Product Line
Power Monitoring Expert 7.2.2
Power Monitoring Expert 8.2
Power Monitoring Expert 9.0
Power Monitoring Expert 2020
Power Monitoring Expert 2021
Power Monitoring Expert 2022
Power Monitoring Expert 2023
Power Monitoring Expert 2024

Environment

Windows OS

Windows SQL Server

Resolution
There is a built-in Windows utility that can be used for testing SQL Database connections. This tool can be useful when testing username\passwords, as well as connections to remote database servers.



1) On the Desktop, right click and create a New Text Document. (Note: "Hide extensions for known file types" must NOT be checked in the Folder Options")
2) Change the file extension from .txt to .udl.
3) Double Click on the .udl file to bring up the Data Link Properties window.

Data Link Properties

4) Enter the name of the SQL Server you are trying to connect to. <Servername>\<Instance>

name of the SQL Server

5) Enter the user credentials being tested.

user credentials

6) Select the database from the drop down list. (If there is no connection to the database server, this step will fail).

 Select the database

7) Click "Test Connection". If successful, you will get a message saying "Test connection succeeded".
Test Connection

施耐德電機Taiwan

探索更多

探索更多

需要協助?

產品選型工具

快速輕鬆地為您的應用找到合適的產品和附件。

取得報價

立即線上提交您的銷售需求,專業團隊將主動聯繫您。

購買地點

輕鬆在您所在地區找到最近的施耐德電機經銷商。

支援中心

在同一位置找到滿足您所有需求的支援資源。