mirror of
https://github.com/percona/percona-toolkit.git
synced 2026-03-27 02:02:01 +08:00
merged pt-mysql-summary-fails-on-cluster-node-in-Donor-or-Desynced-status-1402668
This commit is contained in:
@@ -2400,7 +2400,7 @@ check_mysql () {
|
||||
|
||||
# Now that we have the cmd line opts, check that we can actually
|
||||
# connect to MySQL.
|
||||
[ -n "$(mysql $EXT_ARGV -e 'SELECT 1')" ] \
|
||||
[ -n "$(mysql $EXT_ARGV -e 'SHOW STATUS')" ] \
|
||||
|| die "Cannot connect to MySQL. Check that MySQL is running and that the options after -- are correct."
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user