当前位置: 首页 > 工具软件 > MySQLReport > 使用案例 >

mysql report_Mysqlreport

鲍建业
2023-12-01

#!/bin/bash

MYSQLREPORTPATH=/usr/loadlogshell/mysqlreport-3.5

#SOCKE_TPATH=/var/lib/mysql/mysql.sock

PORT=3306

MYSQLUSER=loadlog

MYSQLPASS=6529SiKwWXxj6985

##FD

FD_CBT1_MemberDB_Master='10.168.104.44'

FD_CBT1_MemberDB_Slave='10.168.104.43'

FD_CBT1_GameDB1_Master='10.168.104.46'

FD_CBT1_GameDB1_Slave='10.168.104.45'

FD_CBT1_GameDB2_Master='10.168.104.48'

FD_CBT1_GameDB2_Slave='10.168.104.47'

FD_CBT1_ShopDB_Master='10.168.104.50'

FD_CBT1_ShopDB_Slave='10.168.104.49'

FD_MYSQLUSER='mysqlreportor'

FD_MYSQLPASS='6529SiKwWXxj6985'

./mysqlreport

--user ${FD_MYSQLUSER}  --host

${FD_CBT1_MemberDB_Master} --password ${FD_MYSQLPASS} --port 13306 --email

${RECEIVELIST}

./mysqlreport

--user ${FD_MYSQLUSER}  --host

${FD_CBT1_MemberDB_Slave} --password ${FD_MYSQLPASS} --port 13306 --email

${RECEIVELIST}

./mysqlreport

--user ${FD_MYSQLUSER}  --host

${FD_CBT1_GameDB1_Master} --password ${FD_MYSQLPASS} --port 13306 --email

${RECEIVELIST}

./mysqlreport

--user ${FD_MYSQLUSER}  --host

${FD_CBT1_GameDB1_Slave} --password ${FD_MYSQLPASS} --port 13306 --email

${RECEIVELIST}

./mysqlreport

--user ${FD_MYSQLUSER}  --host

${FD_CBT1_GameDB2_Master} --password ${FD_MYSQLPASS} --port 13306 --email

${RECEIVELIST}

./mysqlreport

--user ${FD_MYSQLUSER}  --host

${FD_CBT1_GameDB2_Slave} --password ${FD_MYSQLPASS} --port 13306 --email

${RECEIVELIST}

./mysqlreport

--user ${FD_MYSQLUSER}  --host

${FD_CBT1_ShopDB_Master} --password ${FD_MYSQLPASS} --port 13306 --email

${RECEIVELIST}

./mysqlreport

--user ${FD_MYSQLUSER}  --host

${FD_CBT1_ShopDB_Slave} --password ${FD_MYSQLPASS} --port 13306 --email

${RECEIVELIST}

 类似资料:

相关阅读

相关文章

相关问答