Skip to content

Commit

Permalink
fix non root user issue
Browse files Browse the repository at this point in the history
Signed-off-by: Mehedi Hasan <[email protected]>
  • Loading branch information
heheh13 committed Nov 29, 2023
1 parent f57c05f commit df8b0b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ function wait_for_mysqld_running() {
local mysql="$mysql_header --host=$localhost"

for i in {900..0}; do
out=$(mysql -N -e "select 1;" 2>/dev/null)
out=$(${mysql} -N -e "select 1;" 2>/dev/null)
log "INFO" "Attempt $i: Pinging '$report_host' has returned: '$out'...................................."
if [[ "$out" == "1" ]]; then
break
Expand Down
2 changes: 1 addition & 1 deletion scripts/run_read_only.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function wait_for_mysqld_running() {
local mysql="$mysql_header --host=$localhost"

for i in {900..0}; do
out=$(mysql -N -e "select 1;" 2>/dev/null)
out=$(${mysql} -N -e "select 1;" 2>/dev/null)
log "INFO" "Attempt $i: Pinging '$report_host' has returned: '$out'...................................."
if [[ "$out" == "1" ]]; then
break
Expand Down

0 comments on commit df8b0b1

Please sign in to comment.