RDMS三剑客的服务
@echo off
title %1
goto %1
echo Error...
echo.
goto bexit :orcl_stop
rem 顺序:EM、LSN、SID
rem echo stop Oracle ORCL VSS Writer Service
net stop OracleVssWriterORCL
net stop OracleJobSchedulerORCL
net stop OracleMTSRecoveryService
net stop OracleDBConsoleorcl
net stop OracleOraDb11g_home1TNSListener
net stop OracleOraDb11g_home1ClrAgent
net stop OracleServiceORCL
goto bexit :orcl_start rem 顺序:LSN、SID、EM
net start OracleOraDb11g_home1TNSListener
net start OracleServiceORCL
net start OracleDBConsoleorcl
net start OracleJobSchedulerORCL
rem echo start Oracle ORCL VSS Writer Service
net start OracleVssWriterORCL
net start OracleMTSRecoveryService
goto bexit :Mysql_stop
net stop MySQL57
goto bexit :Mysql_start
net start MySQL57
goto bexit :MSSQL_stop
echo SQL Full-text Filter Daemon Launcher (MSSQLSERVER)
net stop MSSQLFDLauncher
echo SQL Server Analysis Services (MSSQLSERVER)
net stop MSSQLServerOLAPService
echo SQL Server Reporting Services (MSSQLSERVER)
net stop ReportServer
echo SQL Server Integration Services 10.0
net stop MsDtsServer100
echo SQL Server VSS Writer
net stop SQLWriter
echo SQL Server 代理 (MSSQLSERVER)
net stop SQLSERVERAGENT
echo SQL Server Browser
net stop SQLBrowser
echo SQL Server (MSSQLSERVER)
net stop MSSQLSERVER
goto bexit :MSSQL_start
echo SQL Server (MSSQLSERVER)
net start MSSQLSERVER
echo SQL Full-text Filter Daemon Launcher (MSSQLSERVER)
net start MSSQLFDLauncher
echo SQL Server Analysis Services (MSSQLSERVER)
net start MSSQLServerOLAPService
echo SQL Server Reporting Services (MSSQLSERVER)
net start ReportServer
echo SQL Server Integration Services 10.0
net start MsDtsServer100
echo SQL Server VSS Writer
net start SQLWriter
goto bexit rem sc config [service name] start= <auto|demand|disabled>
:demand_sc
echo ================= orcl
sc config OracleVssWriterORCL start= demand
sc config OracleJobSchedulerORCL start= demand
sc config OracleMTSRecoveryService start= demand
sc config OracleDBConsoleorcl start= demand
sc config OracleOraDb11g_home1TNSListener start= demand
rem sc config OracleOraDb11g_home1ClrAgent start= demand
sc config OracleServiceORCL start= demand
echo ================= Mysql
sc config MySQL57 start= demand
echo ================= MSSQL
echo SQL Full-text Filter Daemon Launcher (MSSQLSERVER)
sc config MSSQLFDLauncher start= demand
echo SQL Server Analysis Services (MSSQLSERVER)
sc config MSSQLServerOLAPService start= demand
echo SQL Server Reporting Services (MSSQLSERVER)
sc config ReportServer start= demand
echo SQL Server Integration Services 10.0
sc config MsDtsServer100 start= demand
echo SQL Server VSS Writer
sc config SQLWriter start= demand
echo SQL Server 代理 (MSSQLSERVER)
sc config SQLSERVERAGENT start= demand
rem echo SQL Server Browser
rem sc config SQLBrowser start= demand
echo SQL Server (MSSQLSERVER)
sc config MSSQLSERVER start= demand
goto bexit :auto_sc
echo ================= orcl
sc config OracleVssWriterORCL start= auto
sc config OracleJobSchedulerORCL start= auto
sc config OracleMTSRecoveryService start= auto
sc config OracleDBConsoleorcl start= auto
sc config OracleOraDb11g_home1TNSListener start= auto
rem sc config OracleOraDb11g_home1ClrAgent start= demand
sc config OracleServiceORCL start= auto
echo ================= Mysql
sc config MySQL57 start= auto
echo ================= MSSQL
rem echo SQL Full-text Filter Daemon Launcher (MSSQLSERVER)
rem sc config MSSQLFDLauncher start= demand
echo SQL Server Analysis Services (MSSQLSERVER)
sc config MSSQLServerOLAPService start= auto
echo SQL Server Reporting Services (MSSQLSERVER)
sc config ReportServer start= auto
echo SQL Server Integration Services 10.0
sc config MsDtsServer100 start= auto
echo SQL Server VSS Writer
sc config SQLWriter start= auto
rem echo SQL Server 代理 (MSSQLSERVER)
rem sc config SQLSERVERAGENT start= demand
rem echo SQL Server Browser
rem sc config SQLBrowser start= disabled
echo SQL Server (MSSQLSERVER)
sc config MSSQLSERVER start= auto
goto bexit :bexit
echo.
pause
exit
RDMS三剑客的服务的更多相关文章
- Docker三剑客之Swarm介绍
DockOne技术分享(二十): 我用swarm在多台物理机调度管理容器,用ovs实现跨主机的容器互联问题 [编者的话]Swarm项目是Docker公司发布三剑客中的一员,用来提供容器集群服务,目的是 ...
- Dubbo阿里Alibaba开源的分布式服务框架
[获奖公布]"我的2016"主题征文活动 程序猿全指南,让[移动开发]更简单! [观点]移动原生App开发和HTML 5开发,你更看好哪个? 博客的神秘功能 D ...
- Linux实战教学笔记12:linux三剑客之sed命令精讲
第十二节 linux三剑客之sed命令精讲 标签(空格分隔): Linux实战教学笔记-陈思齐 ---更多资料点我查看 1,前言 我们都知道,在Linux中一切皆文件,比如配置文件,日志文件,启动文件 ...
- 【CNMP系列】CentOS7.0下安装Nginx服务
话步前言,CNMP之路,系统起步:http://www.cnblogs.com/riverdubu/p/6425028.html 这回我来讲解下CentOS7.0下如何安装和配置Nginx服务 Ngi ...
- Linux实战教学笔记18:linux三剑客之awk精讲
Linux三剑客之awk精讲(基础与进阶) 标签(空格分隔): Linux实战教学笔记-陈思齐 快捷跳转目录: * 第1章:awk基础入门 * 1.1:awk简介 * 1.2:学完awk你可以掌握: ...
- Docker 三剑客之 Docker Swarm
上一篇:Docker 三剑客之 Docker Compose 阅读目录: Docker Machine 创建 Docker 主机 Docker Swarm 配置集群节点 Docker Service ...
- linux三剑客之一grep
正则表达式(Regular Expression) 目录 起源 正则表达式是什么? 两类基本正则表达式 正则表达式元字符 Linux上文本三剑客 小试牛刀 总结 一.起源 正则表达式这个名词,相信 ...
- Docker 三剑客之 Docker Swarm(基于 overlay 组网通信)
相关文章:Docker 三剑客之 Docker Swarm 这一篇主要是对 Docker Swarm 的完善,增加基于 overlay 组网通信,以便 Docker 容器可以跨主机访问. 不同主机间的 ...
- 网页三剑客之HTML
Web服务本质 import socket def handle_request(client): request_data = client.recv(1024) print(request_dat ...
随机推荐
- Groovy学习笔记-Java 5新特性支持
1.枚举enum enum CoffeeSize{ SHORT, SMALL, MEDIUM, LARGE, MUG } def orderCoffee(size){ print "Coff ...
- random模块用法
最近生病,学习进度少许拖延,, import random # 随机取0~1之间的小数 print(random.random()) # 随机取2数之间的整数 print(random.randint ...
- 原生JS和jQuery操作DOM的区别小结
一.Js原生对象和jQuery实例对象的相互转化: (1).原生JS对象转JQ对象: $(DOM对象); (2). JQ对象转原生JS对象: $(DOM对象).get(index); //注意区分eq ...
- 递归加载Treeview
using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using Sy ...
- c++利用类进行单链表的插入,删除,清空操作
#if 1 #include <iostream> #include <stdlib.h> #include <time.h> #include <fstre ...
- 点击iframe窗口里的超链接,打开新页面的方式
点击iframe窗口里的超链接打开新页面的方式: a标签中设置按钮点击事件,事件调用的方法使用如下方法跳转链接: window.open('url链接', '_blank');
- Altium Designer 10如何导出SMT加工信息和BOM元件清单
要委托工厂进行SMT加工,需要向工厂提供表贴元器件的位置信息(Pick Place),这些信息可以由csv保存下来. 步骤如下: 一.设定坐标原点,一般设为板子左下角,在Keepout划线的顶点处. ...
- linux下mysql的启动与关闭
1.查看mysql版本 方法一:status; 方法二:select version(); 2.Mysql启动.停止.重启常用命令 a.启动方式 1.使用 service 启动: [root@loca ...
- linux解压缩文件名乱码问题 亲测可用
unar 这个工具会自动检测文件的编码,也可以通过-e来指定:unar file.zip 即可解压出中文文件.
- Linux系统一些常用命令(持续增加)
这些命令什么的全是从网上找的,防止忘记,留下来备忘 1.linux服务器如何从另一台服务器拷东西:可以用scp命令scp user@remote.machine:/remote/path /local ...