diff --git a/proxysql/base/proxysql-configmap.yml b/proxysql/base/proxysql-configmap.yml index 4ed6d4a..a9c25f6 100644 --- a/proxysql/base/proxysql-configmap.yml +++ b/proxysql/base/proxysql-configmap.yml @@ -408,7 +408,7 @@ data: ) healthcheck.sh: | #!/bin/bash - num_servers=$(mysql -NB -u admin -h 127.0.0.1 -P 6032 -e "select count(*) from main.mysql_servers") + num_servers=$(mysql -NB -u admin -h 127.0.0.1 -P 6032 -e "select count(*) from main.mysql_servers where hostgroup_id = 10") if [[ ${num_servers} -lt 1 ]]; then exit 1 fi