diff --git a/scripts/mariadbPwd b/scripts/mariadbPwd index 9b2cb17..78b7e8d 100644 --- a/scripts/mariadbPwd +++ b/scripts/mariadbPwd @@ -6,7 +6,7 @@ cmd="mysql" options='--defaults-file=/etc/mysql/debian.cnf' -role=$(CreoleGet dbClusterRole 'Leader') +role=$(CreoleGet dbClusterPosition 'Leader') if [[ ${role} == "Leader" ]] then