How to connect to a SQL Server database remotely

Source: Internet
Author: User

I. Setting up the Client Network Utility

Click "Start"-"Programs" and select "Client Network Utility" from the "Microsoft SQL Server" menu.

Click "Add" in the "aliases" option.

In the "Server alias", fill in your website domain name, in the "Network Library" area, click "TCP/IP", in the "Connection parameters" area to cancel "Dynamic decision port", specify "port number" is 2433. Once completed, click the "OK" button to save the configuration.

Two. Use of Enterprise Manager

Click Start-Programs, and in the Microsoft SQL Server menu, open Enterprise Manager. In Enterprise Manager, right-click SQL Server Group and select New SQL Server registration.

The SQL Server Properties window appears, populate the server with the domain name of your site, select "Use SQL Server Authentication", "Login" and "password" are populated with the username and password in the host-enabled message, and then click OK.

Once the connection is successful, you will see that there is a server in the SQL Server group with the name of your site. At this point, you can manage the Web site database just like you do with a local SQL database.

Precautions

If a time-out error occurs when connecting, change the time-out by tapping tools-options.

In the Properties window, select the Advanced tab and set the login timeout value to 0.

How to connect to a SQL Server database remotely

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.