changed test query from sleect-1 to show-status

This commit is contained in:
Frank Cizmich
2015-01-05 13:28:47 -02:00
parent 732a3fa9cc
commit e5a0dd1ace

View File

@@ -2397,7 +2397,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."
}