<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    wiflish
    Loving Life! Loving Coding!
    posts - 98,comments - 98,trackbacks - 0

    安裝mysql的windows系統(tǒng)服務(wù): ${mysql.home}\bin\mysqld-nt --install;
    卸載mysql的windows系統(tǒng)服務(wù): ${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
    posted on 2006-05-26 15:20 想飛的魚 閱讀(957) 評(píng)論(2)  編輯  收藏 所屬分類: database

    FeedBack:
    # re: 安裝和卸載Mysql的windows系統(tǒng)服務(wù)
    2006-05-26 17:02 | 綠色使者、綠色心情
    其實(shí)可以使用sc命令程序的,可以添加刪除任意的windows系統(tǒng)服務(wù),如下:
    C:\Documents and Settings\escout>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  回復(fù)  更多評(píng)論
      
    # re: 安裝和卸載Mysql的windows系統(tǒng)服務(wù)
    2006-05-29 08:49 | 想飛的魚
    哈。。。原來(lái)還有這個(gè)命令阿。
    以前不知道,又學(xué)了一招。:)
    Thanks!
      回復(fù)  更多評(píng)論
      
    主站蜘蛛池模板: 亚洲AV无码一区二区三区久久精品 | 亚洲国产另类久久久精品小说 | 成人午夜大片免费7777| 一级一看免费完整版毛片| 免费无码AV片在线观看软件| 亚洲人成在线电影| 亚洲人成色77777在线观看| 最新亚洲人成无码网站| 国产精品免费观看调教网| 亚洲国产精品免费观看| www国产亚洲精品久久久| 亚洲av最新在线网址| 亚洲αⅴ无码乱码在线观看性色 | 一个人免费观看在线视频www| 亚洲视频在线一区二区三区| 久9热免费精品视频在线观看| 久久久无码精品亚洲日韩京东传媒| 无码人妻精品中文字幕免费| 中文字幕亚洲激情| 亚洲午夜无码毛片av久久京东热| 中文字幕永久免费| 美女被免费视频网站a国产| 亚洲午夜成人精品无码色欲| 国产jizzjizz免费看jizz| 一边摸一边桶一边脱免费视频 | 亚洲精品第五页中文字幕| 一区二区三区免费在线视频 | 亚洲av综合av一区| 91香蕉在线观看免费高清| 中文字幕亚洲综合久久综合| 久久一区二区三区免费播放| 亚洲美女视频一区| 日韩人妻无码免费视频一区二区三区 | 永久免费的网站在线观看| 国产亚洲综合精品一区二区三区| 在线观看免费高清视频| 美女18毛片免费视频| 亚洲αv在线精品糸列| 免费高清资源黄网站在线观看 | 91大神免费观看| 男人的天堂av亚洲一区2区|