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

Add client connection attributes #293

Closed
bgrainger opened this issue Jul 5, 2017 · 2 comments
Closed

Add client connection attributes #293

bgrainger opened this issue Jul 5, 2017 · 2 comments
Assignees
Milestone

Comments

@bgrainger
Copy link
Member

Split from #288.

When connecting to the server, specify ProtocolCapabilities.ConnectAttributes and send some of the attributes documented here; at a minimum _client_name (= MySqlConnector) and _client_version (= current assembly version).

If they can be determined quickly, consider also sending _os, _pid and _platform.

@bgrainger
Copy link
Member Author

Note that all these properties could be computed once, stored in a static buffer, then replayed on every connection.

@bgrainger
Copy link
Member Author

Added in 0.23.0.

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

No branches or pull requests

1 participant