sunetdrive/templates/application/get_no_mysql_servers.erb.sh

3 lines
148 B
Bash
Raw Normal View History

2023-02-13 09:44:56 +00:00
#!/bin/bash
docker exec -ti proxysql_proxysql_1 mysql -NB -e "select count(*) FROM main.runtime_mysql_servers where hostgroup_id = 10" | tr -d '\r'