MySQL Enterprise Audit As of MySQL 8.0.19, events with a  class  value of  connection  and  event  value of  connect  may include a  connection_attributes  item to display the connection attributes passed by the client at connect time. (For information about these attributes, which are also exposed in Performance Schema tables, see Section 27.12.9, “Performance Schema Connection Attribute Tables” .) The  connection_attributes  value is a hash that represents each attribute by its name and value. Example: "connection_attributes": { "_pid": "43236", "_os": "macos0.14", "_platform": "x86_64", "_client_version": "8.0.19", "_client_name": "libmysql", "program_name": "mysqladmin" } If no connection attributes are present in the event, none are logged and no  connection_attributes item appears. This can occur if the connection attempt is unsucessful, the client passes no attributes, or the connection occurs internally such as during server startup or when initiated by a plugin. An unsigned integer representing the client connection identifier. This is the same as the value returned by the  CONNECTION_ID()  function within the session. Example: "connection_id": 5 • connection_id • event A string representing the subclass of the event class. The subclass defines the type of event, when taken together with the  class  item that specifies the event class. For more information, see the  class item description. Example: "event": "connect" Information about an executed statement or command. The value is a hash containing these items: command ,  sql_command ,  query ,  status . This item occurs only for audit records with a  class  value of  general . • general_data Example: "general_data": { "command": "Query", "sql_command": "show_variables", "query": "SHOW VARIABLES", "status": 0 } 1484