Tips for detecting whether SQL Server database can be connected

Source: Internet
Author: User

Sometimes it may be necessary to detect whether a machine's service is up, or if a certain library of a machine can be connected and not open to ssms or log on to the server.

1. Right-click on the desktop to create a text, and then change the suffix named udl after saving (1.udl).

Note: UDL (Universal data link) is a universal data connection file that uses a Universal Data Link (UDL) file to hold the connection string (which can be queried by Baidu).

2. Open this file to enter the server's IP (2016, the port number, if you use the default port 1433, only the input IP) and the user name password can test the connection.

Reference: http://www.jb51.net/article/61425.htm

Tips for detecting whether SQL Server database can be connected

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.