diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2014-12-11 14:30:43 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2014-12-11 14:30:43 +0000 |
commit | c229e72929f80a64c30810e279d8904b8b33456e (patch) | |
tree | 71d16215bfb8984ee5e2da893041912e3ebdd711 /scripts/checkMySQLrepl | |
parent | Move dhcp into its own folder (diff) | |
download | config-c229e72929f80a64c30810e279d8904b8b33456e.tar.bz2 config-c229e72929f80a64c30810e279d8904b8b33456e.tar.xz config-c229e72929f80a64c30810e279d8904b8b33456e.zip |
Big refresh
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 |