SQL Server 2005自动启动服务不会自动启动。 [英] SQL Server 2005 autostart service is not start automatically.

查看:452
本文介绍了SQL Server 2005自动启动服务不会自动启动。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在一个桌面上,SQL Server(MYSQL)服务处于自动启动模式,但是当我关闭该计算机时,服务会自动停止,当我启动计算机时服务没有自动启动....为什么会发生?有没有解决方案。请建议我。

谢谢。

In one desktop SQL Server(MYSQL) service is in automatic start mode but when i shutdown that computer,service is stops automatically and when i start the computer that service is not starting automatically....why it happens? Is there any solutions.Please suggest me.
Thank You.

推荐答案

看看这里:http://technet.microsoft.com/en-us/library/ms190035%28v=sql.105% 29.aspx [ ^ ]


有关Windows服务的信息如下:



01.打开计算机管理 控制台。

02.在树视图中找到服务

03.标签标准,按名称排序

04。突出显示窗口中的任何内容,键盘按S

05.查看(全部)SQL Server(您的实例名称

06.右键单击选择属性

07.在常规选项卡上,查看启动类型:

08.使用该下拉框,选择自动

09. [可选]点击开始

10. H. 确定关闭对话框。

11. [可选择09]重新启动计算机



非运行SQL的一种解决方案计算机启动时的服务器实例可能还有一些东西阻止它开始。







停止启用TSQL看起来像这样

Information about "Windows Services" follows:

01. Open "Computer Management" console.
02. In the treeview find "Services"
03. Tab "Standard", sort by "Name"
04. Highlight anything in the window, keyboard press "S"
05. See (all) the "SQL Server (your instancename here)"
06. Right click select "Properties"
07. On "General" tab see "Startup type:"
08. Using that dropdown box, select "Automatic"
09. [optional] Hit "Start"
10. Hit "Ok" to close dialog.
11. [optional contingent upon 09] Restart computer

One solution to a non-running SQL Server instance at computer start. There might be a few more things that prevent it from starting.

[edit]

The stoproc enabling TSQL will look something like this
DECLARE @ProcName [nvarchar](146)
SET @ProcName = ''[master].[dbo].[your sp_name here]''
DECLARE @OptionName [nvarchar](599)
SET @OptionName ''startup''
DECLARE @OptionValue [varchar](61)
SET @OptionValue = ''TRUE''

EXEC sp_procoption @ProcName, @OptionName, @OptionValue



你创建的stoproc可能是任何在CREATE阶段都没有出现错误的东西。正如您所期望的那样,自动化就是关于已经运行的东西的内容。

[end edit]


The stoproc you create could be anything that doesn''t raise an error in the CREATE stage. As you''d expect, automation is about what''s inside the thing that''s already running.
[end edit]


这篇关于SQL Server 2005自动启动服务不会自动启动。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆