Skip to content

Allow connectAttributes to be set through URI config #1506

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

mamof
Copy link

@mamof mamof commented Feb 9, 2022

No description provided.

@sidorares
Copy link
Owner

sidorares commented Dec 8, 2022

hey @mamof , not sure about key:value pair encoding, maybe we should be consistent with how for example ssl option is passed to connection string:

mysql://username:password@us-east.connect.psdb.cloud/dbname?ssl={"rejectUnauthorized":true}

Maybe just JSON.stringify()? mysql://username:password@us-east.connect.psdb.cloud/dbname?ssl={"rejectUnauthorized":true}&connectAttributes={"program_name":"testProg","second_attr":"example"}

@wellwelwel wellwelwel added the needs rebase For internal organization purpose label Mar 5, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
needs rebase For internal organization purpose
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants