MySQL 8.3.0
Source Code Documentation
mysql_event_connection Struct Reference

Structure for the MYSQL_AUDIT_CONNECTION_CLASS event class. More...

#include <plugin_audit.h>

Public Attributes

mysql_event_connection_subclass_t event_subclass
 Event subclass. More...
 
int status
 Current status of the connection. More...
 
unsigned long connection_id
 Connection id. More...
 
MYSQL_LEX_CSTRING user
 User name of this connection. More...
 
MYSQL_LEX_CSTRING priv_user
 Priv user name. More...
 
MYSQL_LEX_CSTRING external_user
 External user name. More...
 
MYSQL_LEX_CSTRING proxy_user
 Proxy user used for this connection. More...
 
MYSQL_LEX_CSTRING host
 Connection host. More...
 
MYSQL_LEX_CSTRING ip
 IP of the connection. More...
 
MYSQL_LEX_CSTRING database
 Database name specified at connection time. More...
 
int connection_type
 Connection type: More...
 

Detailed Description

Structure for the MYSQL_AUDIT_CONNECTION_CLASS event class.

Member Data Documentation

◆ connection_id

unsigned long mysql_event_connection::connection_id

Connection id.

◆ connection_type

int mysql_event_connection::connection_type

Connection type:

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

◆ database

MYSQL_LEX_CSTRING mysql_event_connection::database

Database name specified at connection time.

◆ event_subclass

mysql_event_connection_subclass_t mysql_event_connection::event_subclass

Event subclass.

◆ external_user

MYSQL_LEX_CSTRING mysql_event_connection::external_user

External user name.

◆ host

MYSQL_LEX_CSTRING mysql_event_connection::host

Connection host.

◆ ip

MYSQL_LEX_CSTRING mysql_event_connection::ip

IP of the connection.

◆ priv_user

MYSQL_LEX_CSTRING mysql_event_connection::priv_user

Priv user name.

◆ proxy_user

MYSQL_LEX_CSTRING mysql_event_connection::proxy_user

Proxy user used for this connection.

◆ status

int mysql_event_connection::status

Current status of the connection.

◆ user

MYSQL_LEX_CSTRING mysql_event_connection::user

User name of this connection.


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