Performance Schema session_connect_attrs Table
The session_connect_attrs table lists connection attributes for the current session, offering details about the client library and environment.
Description
Column
Description
Example
SELECT * FROM performance_schema.session_connect_attrs WHERE processlist_id=CONNECTION_ID();
+----------------+-----------------+------------------+------------------+
| PROCESSLIST_ID | ATTR_NAME | ATTR_VALUE | ORDINAL_POSITION |
+----------------+-----------------+------------------+------------------+
| 45 | _os | debian-linux-gnu | 0 |
| 45 | _client_name | libmysql | 1 |
| 45 | _pid | 7711 | 2 |
| 45 | _client_version | 10.0.5 | 3 |
| 45 | _platform | x86_64 | 4 |
| 45 | program_name | mysql | 5 |
+----------------+-----------------+------------------+------------------+Using Other Connectors
JDBC
Node.js
R2DBC
PreviousPerformance Schema session_account_connect_attrs TableNextPerformance Schema session_status Table
Last updated
Was this helpful?

