Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Allow connectAttributes to be set through URI config #1506

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:[email protected]/dbname?ssl={"rejectUnauthorized":true}

Maybe just JSON.stringify()? mysql://username:[email protected]/dbname?ssl={"rejectUnauthorized":true}&connectAttributes={"program_name":"testProg","second_attr":"example"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants