summaryrefslogtreecommitdiff
path: root/scripts/checkMySQLrepl
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2014-12-11 14:30:43 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2014-12-11 14:30:43 +0000
commitc229e72929f80a64c30810e279d8904b8b33456e (patch)
tree71d16215bfb8984ee5e2da893041912e3ebdd711 /scripts/checkMySQLrepl
parentMove dhcp into its own folder (diff)
downloadconfig-c229e72929f80a64c30810e279d8904b8b33456e.tar.bz2
config-c229e72929f80a64c30810e279d8904b8b33456e.tar.xz
config-c229e72929f80a64c30810e279d8904b8b33456e.zip
Big refresh
Diffstat (limited to 'scripts/checkMySQLrepl')
-rwxr-xr-xscripts/checkMySQLrepl5
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