[root@jm1j-node1 scripts]# cat /etc/redhat-release CentOS release 6.8 (Final) [root@jm1j-node1 scripts]# mysql -V mysql Ver 14.14 Distrib 5.6.35, for linux-glibc2.5 (x86_64) using EditLine wrapper 2,规范脚本存放目录
## Each backup database to the target location #### for i in `"$BIN_PATH"/mysql -u "$DBUSER" -p"$DBPASSWD" -e "show databases" |grep -vE "Database|information_schema|performance_schema"`
[root@yilonghc-m01 ~]# tail /etc/mail.rc ##t添加如下内容 set bsdcompat set from=outlokk@163.com set smtp=smtp.163.com set smtp-auth-user=*****@163.com #自己的邮箱 set smtp-auth-password=***** ##授权码 set smtp-auth=login