操作系统:CentOSrelease6.8(Final)[root@Cactichapter7]#vimysql_method.shechomethod1------------if[`lsof-itcp:3306|wc-l`-gt0]#通过过虑端口号来取值判断thenecho"MySQLisRunning."elseecho"MySQLisStopped."/etc/init.d/mysqldstartfiechomethod2----------------------i..
分类:
数据库 时间:
2017-07-11 14:47:22
阅读次数:
253