diff options
-rwxr-xr-x | scripts/checkMySQLrepl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/checkMySQLrepl b/scripts/checkMySQLrepl index b9081f8..5a6857a 100755 --- a/scripts/checkMySQLrepl +++ b/scripts/checkMySQLrepl @@ -1,5 +1,5 @@ -mysql -uroot -pne65dq mysql -hdefiant -e 'show master status' -mysql -uroot -pne65dq mysql -hfirebrand -e 'show master status' +mysql --defaults-extra-file=/root/.my.cnf mysql -hdefiant -e 'show master status' +mysql --defaults-extra-file=/root/.my.cnf mysql -hfirebrand -e 'show master status' -mysql -uroot -pne65dq mysql -hdefiant -e 'show slave status' --vertical -mysql -uroot -pne65dq mysql -hfirebrand -e 'show slave status' --vertical +mysql --defaults-extra-file=/root/.my.cnf mysql -hdefiant -e 'show slave status' --vertical +mysql --defaults-extra-file=/root/.my.cnf mysql -hfirebrand -e 'show slave status' --vertical |