摘要:
#!/bin/bashtime=`date -d yesterday +"%Y-%m-%d"`slowlog='/usr/local/percona/data/slow.log'#提前创建好一个存放目录:/usr/local/percona/slow_log cut_slowlog='/usr/lo 阅读全文
摘要:
#!/bin/shexport PATH=$PATH:/application/mysql/3306/binlogFile=`date +"%Y-%m-%d %H:%M:%S"`_check_mysql_slave.logmysql='/application/mysql/3306/bin/mysq 阅读全文