· [Java论坛][安全论坛][数据库论坛][操作系统论坛]
· [专题] IBM Rational高峰论坛 Windows 7十大功能
· [专题] 史上就危险7月 微软 BizSpark 计划介绍
· [IT技术周刊][IT资源下载专区][病毒求助专区]
· [热点] 我也能做CTO_赛迪连载 赛迪七夕特别行动
· [热点] Chrome 4.0采用V8引擎 Java开发编程规范

安装和卸载MySQL的Windows系统服务 (1)

发布时间:2006.08.23 01:11     来源:互联网    作者:绿色心情,Feedback

安装mysql的windows系统服务: ${mysql.home}\bin\mysqld-nt --install;

卸载mysql的windows系统服务: ${mysql.home}\bin\mysqld-nt --remove

绿色心情大大介绍的更好的方法:

在命令行使用sc命令:





DESCRIPTION: 
SC is a command line program used for communicating with the 
NT Service Controller and services. 
USAGE: 
sc <server> [command] [service name] <option1> <option2>... 

The option <server> has the form "\\ServerName" 
Further help on commands can be obtained by typing: "sc [command]" 
Commands: 
query-----------Queries the status for a service, or 
enumerates the status for types of services. 
queryex---------Queries the extended status for a service, or 
enumerates the status for types of services. 
start-----------Starts a service. 
pause-----------Sends a PAUSE control request to a service. 
interrogate-----Sends an INTERROGATE control request to a service. 
continue--------Sends a CONTINUE control request to a service. 
stop------------Sends a STOP request to a service. 
config----------Changes the configuration of a service (persistant). 
description-----Changes the description of a service. 
failure---------Changes the actions taken by a service upon failure. 
qc--------------Queries the configuration information for a service. 
qdescription----Queries the description for a service. 
qfailure--------Queries the actions taken by a service upon failure. 
delete----------Deletes a service (from the registry). 
create----------Creates a service. (adds it to the registry). 
control---------Sends a control to a service. 
sdshow----------Displays a service's security descriptor. 
sdset-----------Sets a service's security descriptor. 
GetDisplayName--Gets the DisplayName for a service. 
GetKeyName------Gets the ServiceKeyName for a service. 
EnumDepend------Enumerates Service Dependencies. 

The following commands don't require a service name: 
sc <server> <command> <option> 
boot------------(ok | bad) Indicates whether the last boot should 
be saved as the last-known-good boot configuration 
Lock------------Locks the Service Database 
QueryLock-------Queries the LockStatus for the SCManager Database 
EXAMPLE: 
sc start MyService

1 2 下一页>>


[ 发表评论 ] 字体[  ] [ 打印 ] [ 进入博客 ] [ 进入论坛 ]  [ 推荐给朋友 ]
  相关文章
· MySQL技术与应用研讨会 暨中国研发中心成立 (08-22) · 安装,启动与卸载MySQL系统服务(MySQL常见问 (08-22)
· MySQL 版本 卸载与安装 (08-22) · MySQL 卸载的问题 (08-22)
· windows下安装、卸载mysql服务 (08-22) · 如何正确卸载MySQL (08-22)
· 通过rpm包安装、配置及卸载mysql (08-22) · 卸载MySQL (08-22)
· 在服务器上安装、使用MySQL的注意事项(2) (08-22) · 在服务器上安装、使用MySQL的注意事项(1) (08-22)
  客户需求反馈表
* 姓  名:
更多资料  了解方案  认识厂商
* 单位名称:
* 联系电话:
* 电子邮件:
资讯 通信 IT产品 IT技术 信息化
专题:谷歌发布PC操作系统Chrome OS
·芯能量 新动力 兴经济:..
·专题:英特尔与AMD和解 ..
·专题:惠普27亿收购3Com..
专题:
·专题:诺基亚危局已现 ..
·六股势力角逐4G标准 中..
·专题:联通iPhone并不贵..
 
·惠普123459黑白激打家族..
·云计算格局初现 三大阵..
·分析:虚拟化在高性能计..
2009 IBM动态架构新动力论坛
·直播:第八届中国系统与..
·专题:置身智慧海洋——..
·专题:让物品开口说话 ..