Skip to content

Commit c639c85

Browse files
authored
Merge pull request #23 from zebulonj/fix/connection-string
Connection String Generation
2 parents 4ceba75 + e29cf18 commit c639c85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pscale/cli-helper-scripts/create-branch-connection-string.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ function create-branch-connection-string {
3333
exit 1
3434
fi
3535

36-
local DB_URL=`echo "$raw_output" | jq -r ". | \"mysql://\" + .id + \":\" + .plain_text + \"@\" + .database_branch.access_host_url + \"/\""`
36+
local DB_URL=`echo "$raw_output" | jq -r ". | \"mysql://\" + .username + \":\" + .plain_text + \"@\" + .database_branch.access_host_url + \"/\""`
3737
local GENERAL_CONNECTION_STRING=`echo "$raw_output" | jq -r ". | .connection_strings.general"`
3838

3939
read -r -d '' SECRET_TEXT <<EOF

0 commit comments

Comments
 (0)