How to stop and start MsSqlServer

Source: Internet
Author: User
Tags microsoft sql server 2005 mssqlserver
After MsSqlServer2005 is installed, I am not used to it. Since I have been using sqlserver2000 before, I found that sqlserver2005 has been changed in many places. Sometimes it takes a long time to find a small function. This is not the first time to stop the sqlserver2005 service to reduce memory overhead because of the need for other processing work,

After installing Ms SQL Server 2005, I am not used to it. Because I have been using SQL server 2000 before, I found that SQL server 2005 has been changed in many places, and sometimes a small function is required for a long time. This is not the first time to stop the SQL server 2005 service to reduce memory overhead because of the need for other processing work,

After installing Ms SQL Server 2005, I am not used to it. Because I have been using SQL server 2000 before, I found that SQL server 2005 has been changed in many places, and sometimes a small function is required for a long time. Today, because I need to do other processing work, I disabled the SQL server 2005 service to reduce memory overhead. This is not the first time I did this. I generally did this through SQL Server Management Studio. After the service was stopped, SQL Server Management was not launched directly. Therefore, you can simply restart the service when necessary.

To minimize the memory size, all irrelevant windows are closed. After that, you need to re-enable the SQL server service to find that you can no longer access SQL Server Management. Haha, so I searched the internet and found that there are several ways to enable and disable the Ms SQL Server.

1. Start Menu-> RUN

-- Start the SQL server 2005 service

Net start mssqlserver

-- Stop the SQL server 2005 service

Net stop mssqlserver

2. Choose Start> program> Microsoft SQL Server 2005> Configuration tool.

SQL Server Configuration Manager-> SQL Server (MSSQLSERVER) Right-click to start the service, and the status is displayed as "running"

3. Choose Start> RUN> services. msc service console.

After you right-click SQL Server (MSSQLSERVER) and choose "started" from the shortcut menu, the status is displayed as "started"

Note: What about port 1433?

When installing SQL SERVER 2005, TCP/IP and port 1433 are not enabled by default.

-> SQL Native Client configuration-> enable TCP/IP and port 1433 under the Client protocol.

All right, these methods should be sufficient for starting and stopping Ms SQL Server.

,

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.