SQL Server数据库怎么重启?

网站3天之内必须重启数据库一次,要不就打不开~好像是数据库内存的事吧.怎么才能重启数据库呢?... 网站3天之内必须重启数据库一次,要不就打不开~好像是数据库内存的事吧.怎么才能重启数据库呢? 展开
 我来答
郭某人来此
推荐于2017-12-16 · TA获得超过1645个赞
知道答主
回答量:952
采纳率:100%
帮助的人:84.9万
展开全部
在SQL Server 配置管理器中,展开SQL Server 2005的网络配置,然后点击服务器实例如:MSSQLSERVER 的协议。
在右窗格中,双击TCP/IP协议。
在TCP/IP属性对话框中,单击IP地址选项卡。
在TCP端口框中的IPAll节,输入一个可用的端口号。对于本教程中,我们将使用1500。
单击确定以关闭该对话框,然后单击确定的警告说,必须重新启动服务。
在左窗格中,单击SQL Server 2005的服务。
在右窗格中,右键单击SQL Server实例如:SQL Server (MSSQLSERVER),然后单击重新启动。当数据库引擎重新启动时,它将侦听端口1500 。
--------------------------------------------------------------------------------
In SQL Server Configuration Manager, expand SQL Server 2005 Network Configuration, and then click on the server instance you want to configure.
In the right pane, double-click TCP/IP.
In the TCP/IP Properties dialog box, click the IP Addresses tab.
In the TCP Port box of the IPAll section, type an available port number. For this tutorial, we will use 1500.
Click OK to close the dialog box, and click OK to the warning that the service must be restarted.
In the left pane, click SQL Server 2005 Services.
In the right pane, right-click the instance of SQL Server, and then click Restart. When the Database Engine restarts, it will listen on port 1500.
本文来自: 脚本之家(www.jb51.net) 详细出处参考:http://www.jb51.net/article/17610.htm
匿名用户
2013-08-24
展开全部
写个WINDOWS计划任务就可以了.
已赞过 已踩过<
你对这个回答的评价是?
评论 收起
推荐律师服务: 若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询

为你推荐:

下载百度知道APP,抢鲜体验
使用百度知道APP,立即抢鲜体验。你的手机镜头里或许有别人想知道的答案。
扫描二维码下载
×

类别

我们会通过消息、邮箱等方式尽快将举报结果通知您。

说明

0/200

提交
取消

辅 助

模 式