Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
  1. Get the service name for both MySQL and Tomcat获取 MySQL 和 Tomcat 的 服务名称.

  2. Launch command prompt. Execute the following

    在命令行中执行以下语句.

    Code Block
    sc config Tomcat7 depend= MySQL
  3. You will get the following as confirmation

    您将得到以下成功确认信息.

    Code Block
    [SC] ChangeServiceConfig SUCCESS
  4. You may verify it on Tomcat's service properties您可以在 Tomcat 服务熟悉中验证.