sunetdrive/templates/mariadb/size-test.erb

4 lines
133 B
Plaintext

#!/bin/bash
docker exec mariadb_db_1 mysql -u root -p'<%= @mysql_root_password %>' -N -B -e "show status like 'wsrep_cluster_size'"