• mysql和redis加入到windows服务


     mysql加入到windows服务:

    mysqld --install  Mysql5.6 

    mysqld --remove mysql5.6  从windows的服务中删除mysql服务

     net start mysql5.6 打开mysql服务

     net stop mysql5.6 关闭mysql服务

    mysqld --install-manual  上面的这个命令是装好的服务会在你开机的时候自动启动,如果你想将服务改为手动的就,就运行下面这个命令

    redis加入到windows服务:

    1. redis-server --service-install redis.windows.conf

      2、启动redis-server --service-start  关闭 redis-server --service-stop

           3、卸载redis-server --service-uninstall

  • 相关阅读:
    Redis
    Redis
    Redis
    Redis
    Redis
    Redis
    Distributed
    Sentinel
    Archi
    Redis
  • 原文地址:https://www.cnblogs.com/lsxuejava/p/7592310.html
Copyright © 2020-2023  润新知