diff options
Diffstat (limited to 'scripts/checkMySQLrepl')
-rwxr-xr-x | scripts/checkMySQLrepl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/checkMySQLrepl b/scripts/checkMySQLrepl new file mode 100755 index 0000000..b9081f8 --- /dev/null +++ b/scripts/checkMySQLrepl @@ -0,0 +1,5 @@ +mysql -uroot -pne65dq mysql -hdefiant -e 'show master status' +mysql -uroot -pne65dq 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 |