Update get-sequence-number to account for location of my.cnf file
@@ -29,7 +29,7 @@ regex="[0-9]+$"
seq_no=$(cat /var/vcap/store/mysql/grastate.dat | grep 'seqno:')
if [ "$seq_no" = "seqno: -1" ]; then
- /var/vcap/packages/mariadb/bin/mysqld --wsrep-recover
+ /var/vcap/packages/mariadb/bin/mysqld --defaults-file=/var/vcap/jobs/mysql/config/my.cnf --wsrep-recover
seq_no=$(grep "Recovered position" /var/vcap/sys/log/mysql/mysql.err.log | tail -1)
fi
