Skip to content

Use shorter version in connection attributes #765

@bgrainger

Description

@bgrainger

Client connection attributes were added in #293. MySqlConnector's version is quite long:

select distinct sca1.attr_value, sca2.attr_value
from information_schema.processlist pl
    inner join performance_schema.session_connect_attrs sca1 on pl.id = sca1.processlist_id
    inner join performance_schema.session_connect_attrs sca2 on pl.id = sca2.processlist_id
where sca1.attr_name = '_client_name' and sca2.attr_name = '_client_version';
attr_value attr_value
libmysql 5.7.24-27
MySql Connector/NET 6.9.9.0
mysql-connector-net 8.0.19.0
MySqlConnector 0.61.0+5462263e11a7b41b9cec636ce20e2bb43d465378

The git commit SHA suffix should be trimmed off.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions