Skip to content

Set program_name on connectionString or somewhere else #930

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

Closed
miguelpragier opened this issue Mar 7, 2019 · 3 comments
Closed

Set program_name on connectionString or somewhere else #930

miguelpragier opened this issue Mar 7, 2019 · 3 comments

Comments

@miguelpragier
Copy link

Even after read the discussions about including connectionAttributes, I'm not sure if there's a way, or if the feature was included.
Did it?

I'm trying to set "program name", in order to recognize the proccesses at mysql serverside.

Like this post: https://stackoverflow.com/questions/29947364/set-program-name-for-display-in-mysql-process-list

On the follow attached image, find the Program column, sent by mysqlWorkbench:

image

@methane
Copy link
Member

methane commented Mar 8, 2019

Even after read the discussions about including connectionAttributes, I'm not sure if there's a way, or if the feature was included.

It was implemented once, but reverted because it's too difficult to write it in DSN.
It was mistake that we chose URL as DSN.
#350 (comment)

We may be able to support it via Connector Interface. (#778)
But we has serious bug which cause rase (#903). I want to fix it before adding any new feature. (#905).

So we are stuck for now until other maintainer came back.

@miguelpragier
Copy link
Author

Thank you for the answers!
I'll check the references to know further the implications.

@VadimIpatov
Copy link

Is there any progress?

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

No branches or pull requests

3 participants