diff --git a/.pscale/cli-helper-scripts/create-branch-connection-string.sh b/.pscale/cli-helper-scripts/create-branch-connection-string.sh index 65ba077..559ab0d 100755 --- a/.pscale/cli-helper-scripts/create-branch-connection-string.sh +++ b/.pscale/cli-helper-scripts/create-branch-connection-string.sh @@ -33,7 +33,7 @@ function create-branch-connection-string { exit 1 fi - local DB_URL=`echo "$raw_output" | jq -r ". | \"mysql://\" + .id + \":\" + .plain_text + \"@\" + .database_branch.access_host_url + \"/\""` + local DB_URL=`echo "$raw_output" | jq -r ". | \"mysql://\" + .username + \":\" + .plain_text + \"@\" + .database_branch.access_host_url + \"/\""` local GENERAL_CONNECTION_STRING=`echo "$raw_output" | jq -r ". | .connection_strings.general"` read -r -d '' SECRET_TEXT <