MySQL 9.1.0
Source Code Documentation
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
mysql_event_tracking_connection_data Struct Reference

Structure for Connection event tracking. More...

#include <event_tracking_connection_defs.h>

Public Attributes

mysql_event_tracking_connection_subclass_t event_subclass
 Event subclass. More...
 
int status
 Current status of the connection. More...
 
mysql_connection_id connection_id
 Connection id. More...
 
mysql_cstring_with_length user
 User name of this connection. More...
 
mysql_cstring_with_length priv_user
 Priv user. More...
 
mysql_cstring_with_length external_user
 External user name. More...
 
mysql_cstring_with_length proxy_user
 Proxy user used for the connection. More...
 
mysql_cstring_with_length host
 Connection host. More...
 
mysql_cstring_with_length ip
 IP of the connection. More...
 
mysql_cstring_with_length database
 Database name specified at connection time - System charset (defaults to utf8mb4) Please use s_mysql_mysql_charset to obtain charset. More...
 
int connection_type
 Connection type: More...
 

Detailed Description

Structure for Connection event tracking.

Member Data Documentation

◆ connection_id

mysql_connection_id mysql_event_tracking_connection_data::connection_id

Connection id.

◆ connection_type

int mysql_event_tracking_connection_data::connection_type

Connection type:

  • 0 Undefined
  • 1 TCP/IP
  • 2 Socket
  • 3 Named pipe
  • 4 SSL
  • 5 Shared memory

◆ database

mysql_cstring_with_length mysql_event_tracking_connection_data::database

Database name specified at connection time - System charset (defaults to utf8mb4) Please use s_mysql_mysql_charset to obtain charset.

◆ event_subclass

mysql_event_tracking_connection_subclass_t mysql_event_tracking_connection_data::event_subclass

Event subclass.

◆ external_user

mysql_cstring_with_length mysql_event_tracking_connection_data::external_user

External user name.

◆ host

mysql_cstring_with_length mysql_event_tracking_connection_data::host

Connection host.

◆ ip

mysql_cstring_with_length mysql_event_tracking_connection_data::ip

IP of the connection.

◆ priv_user

mysql_cstring_with_length mysql_event_tracking_connection_data::priv_user

Priv user.

◆ proxy_user

mysql_cstring_with_length mysql_event_tracking_connection_data::proxy_user

Proxy user used for the connection.

◆ status

int mysql_event_tracking_connection_data::status

Current status of the connection.

◆ user

mysql_cstring_with_length mysql_event_tracking_connection_data::user

User name of this connection.


The documentation for this struct was generated from the following file: