Skip to content

Commit

Permalink
fix mysql non root user issue (#34)
Browse files Browse the repository at this point in the history
Signed-off-by: Mehedi Hasan <[email protected]>
  • Loading branch information
heheh13 authored Nov 29, 2023
1 parent 328a0a7 commit 99c2327
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,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 99c2327

Please sign in to comment.