Bug #77207 Documentation about client attribute names is missing
Submitted: 1 Jun 2015 11:13 Modified: 14 Oct 2015 21:46
Reporter: Daniël van Eeden (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.7.7 OS:Any
Assigned to: CPU Architecture:Any

[1 Jun 2015 11:13] Daniël van Eeden
Description:
libmysql sends _client_name, _client_version, _os, _pid, etc. as connection attribute and many tools send program_name. However the 'standard' list of attributes is not in the documentation.

Reading the code it looks like _thread is also send on Windows.

Documenting this should also make it easier to keep these more or less in sync for different official and unofficial connectors.

How to repeat:
Read docs and compare with sourcecode and connection attributes send by different connectors
[5 Jun 2015 11:00] Chiranjeevi Battula
Hello Daniël van Eeden,

Thank you for the bug report.

Thanks,
Chiranjeevi.
[8 Jun 2015 8:35] Stefan Hinz
Posted by developer:
 
Hi Daniel, which part of the docs are you referring to? URL?
[8 Jun 2015 20:32] Daniël van Eeden
I used this google search to try and find documentation about which connection attributes are sent
site:dev.mysql.com/doc/refman "_client_name" 

Some URLs where I might expect this information:
- https://dev.mysql.com/doc/refman/5.7/en/mysql-options4.html
- https://dev.mysql.com/doc/refman/5.7/en/session-account-connect-attrs-table.html
[14 Oct 2015 21:46] Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly.

Connection attributes now listed here:
http://dev.mysql.com/doc/refman/5.7/en/performance-schema-connection-attribute-tables.html
and cross referenced to there from the connection-attribute table sections and mysql_options{,4}()
sections.