For the complete documentation index, see llms.txt. This page is also available as Markdown.

Audit Class: Connection

Plugin API reference: Audit Class: Connection. Generated from the MariaDB server headers by doxygen and moxygen.

Plugin API / Plugin Types / Audit Plugin

CONNECT occurs after authentication phase is completed. DISCONNECT occurs after connection is terminated. CHANGE_USER occurs after COM_CHANGE_USER RPC is completed.

Classes

Name
Description

Macros


MYSQL_AUDIT_CONNECTION_CLASS

#define MYSQL_AUDIT_CONNECTION_CLASS 1

Defined in plugin_audit.h:98


MYSQL_AUDIT_CONNECTION_CLASSMASK

Defined in plugin_audit.h:99


MYSQL_AUDIT_CONNECTION_CONNECT

Defined in plugin_audit.h:100


MYSQL_AUDIT_CONNECTION_DISCONNECT

Defined in plugin_audit.h:101


MYSQL_AUDIT_CONNECTION_CHANGE_USER

Defined in plugin_audit.h:102

Class Definitions

mysql_event_connection

Defined in plugin_audit.h:104

Public Attributes

Return
Name
Description

unsigned int

unsigned long

const char *

unsigned int

const char *

unsigned int

const char *

const char *

unsigned int

const char *

unsigned int

const char *

unsigned int

unsigned int

const char *

unsigned int


event_subclass

Defined in plugin_audit.h:106


status

Defined in plugin_audit.h:107


thread_id

Defined in plugin_audit.h:108


user

Defined in plugin_audit.h:109


user_length

Defined in plugin_audit.h:110


priv_user

Defined in plugin_audit.h:111


priv_user_length

Defined in plugin_audit.h:112


external_user

Defined in plugin_audit.h:113


external_user_length

Defined in plugin_audit.h:114


proxy_user

Defined in plugin_audit.h:115


proxy_user_length

Defined in plugin_audit.h:116


host

Defined in plugin_audit.h:117


host_length

Defined in plugin_audit.h:118


ip

Defined in plugin_audit.h:119


ip_length

Defined in plugin_audit.h:120


port

Defined in plugin_audit.h:121


database

Type: MYSQL_CONST_LEX_STRING

Defined in plugin_audit.h:122


tls_version

Defined in plugin_audit.h:124


tls_version_length

Defined in plugin_audit.h:125

This page is licensed: GPLv2

spinner

Last updated

Was this helpful?