We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff694b3 + 216383a commit a375644Copy full SHA for a375644
templates/galera/bin/mysql_wsrep_notify.sh
@@ -28,7 +28,7 @@ function log_error() {
28
29
function mysql_get_status {
30
local name=$1
31
- mysql -nNE -uroot -p$DB_ROOT_PASSWORD -e "show status like '${name}';" | tail -1
+ mysql -nNE -uroot -p"${DB_ROOT_PASSWORD}" -e "show status like '${name}';" | tail -1
32
if [ $? != 0 ]; then
33
log_error "could not get value of mysql variable '${name}' (rc=$?)"
34
return 1
0 commit comments