Protocol used by SQL Server: Named Pipe (Named Pipe)

Source: Internet
Author: User
Tags sql server connection string

Recently I have followed some network protocols used by SQL Server, such as named pipe:

Named Pipe (Named Pipe) is a protocol used for LAN. Under this protocol, a part of the computer's memory is used by a process to transmit information to another process. The latter can be a local process or remote process.

In what scenarios will named pipe be considered?

If the server and client are both in the LAN, you can consider using it. The speed of named pipe in the LAN is faster than that of TCP/IP. If you disable TCP/IP, you can use named pipe to improve network security.

Using Named Pipe:

InProgramThe SQL Server connection string in can be roughly like this:

"Server =. \ yourinstancename; database = yourdatabasename; uid = sa; Pwd = pass @ word;Network library = dbnmpntw"

Make sure that the named pipe protocol and the SQL Server Browser Service are enabled on the SQL Server server. The latter is used to listen for external requests to SQL Server resources and provide information about SQL Server instances installed on the computer.


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.