摘要:
#! /bin/bashecho "start running" | tee -a LANG=enset `date`path="/home/check"echo "start running" | tee -a $path/log/$1-$2-$3.logif [ -d /home/check/r 阅读全文
摘要:
l 主mysql上: # cp /etc/my.cnf /etc/my.cnf.bak # vi /etc/my.cnf log_bin=mysql-bin //开启二进制日志 server_id=1 //server_id 的值主从必须不同 登录mysql后进行授权: mysql> grant a 阅读全文