Created
September 2, 2014 03:42
-
-
Save eerien/6eaf91ce4729e9e6b380 to your computer and use it in GitHub Desktop.
MySQL Ping script
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
mysqladmin -h$1 -u$2 -p$3 ping | grep -c alive |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment