① sql Server 2008配置管理器无法打开(无法连接到 WMI 提供程序),我是64位的机器,数据库也连接不上
这里的WMI应该是“Windows Management Instrumentation”,进服务管理,看下这个服务是否已启动。
1、我的电脑右键-》管理-》服务
2、控制面板-》管理工具-》服务
3、直接在开始菜单-》运行,输入 services.msc /s 回车。
上MSDN查了下,大概是这样的:
The solution is to go to a command prompt and then run mofcomp.
//开始运行Cmd.exe进命令行
//进入MSSQL2005安装目录cd \Program Files\Microsoft SQL Server\90\Shared
//输入 mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof"
//具体的路径要看你SQL的安装路径了
C:\Program Files\Microsoft SQL Server\90\Shared>mofcomp "C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmproviderxpsp2up.mof"
The output will look like below
//执行结果大致如下
Microsoft (R) 32-bit MOF Compiler Version 5.1.2600.2180
Copyright (c) Microsoft Corp. 1997-2001. All rights reserved.
Parsing MOF file: C:\Program Files\Microsoft SQL Server\90\Shared\sqlmgmprovider
xpsp2up.mof
MOF file has been successfully parsed
Storing data in the repository...
Done!
On servers, the .mof file will be sqlmgmprovider.mof.
//如果显示类似这样的就说明成功了。
② SQL Server(MSSQLSERVER)无法启动怎么解决
原因是在电脑的服务里面没有启动MSSQLSERVER,启动一下就可以解决问题。
以Windows7操作为例:
1、首先需要打开电脑的桌面,如图所示,鼠标右键单击我的电脑选择管理进入。
③ 如何打开sql server配置管理器
这里以windows7系统下打开sql server配置管理器为具体的例子,打开的方法如下:
1、首先在电脑桌面的主页面使用鼠标右击计算机,然后在弹出来的页面中点击【管理】。