How can I find sql server port number from windows? Is there any generic way to find port number for sql server 2000, 2005 and 2008?
相关问题
- sql execution latency when assign to a variable
- What is the best way to cache a table from a (SQL)
- php PDO::FETCH_ASSOC doesnt detect select after ba
- Bulk update SQL Server C#
- SQL to Parse a Key-Value String
相关文章
- Entity Framework 4.3.1 failing to create (/open) a
- Code for inserting data into SQL Server database u
- SQL Server 2008 Change Data Capture, who made the
- Delete Every Alternate Row in SQL
- Linux based PHP install connecting to MsSQL Server
- SQL Azure Reset autoincrement
- How do we alias a Sql Server instance name used in
- Is recursion good in SQL Server?
You can also find the port in the SQL Server Configuration Manager:
i'm not sure correct or not, u can use the Server Network Utility from the server and click Properties in TCP/IP for Enabled protocols list.
or can also check the port number an instance of SQL Server in the error log i.e. 10.0.0.1: 3306, the last 4 digit no after colon is the SQL server listening for the ip add
SQL Server 2000
Default instance
Named instance
SQL Server 2005
There is no distinction between default and named instances. An instance is assigned a number based on the order it was installed. We first need to locate the registry key for the instance, which looks like
'#' is the number assigned to the instance. The instance name is stored as the default value for this registry key. For a default instance, it is MSSQLSERVER.
Once the registry key for the instance is found, we know the TCP/IP registry key is
SQL Server 2008
Default instance
Named instance
More information here.