summaryrefslogtreecommitdiff
path: root/scripts/checkMySQLrepl
diff options
context:
space:
mode:
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