MySQL Enterprise Audit Field Name Field Type Description or  "::named_pipe" : Named pipe or  "::ssl" : TCP/IP with encryption or  "::shared_memory" : Shared memory The  ":: xxx "  values are symbolic pseudo-constants that may be given instead of the literal numeric values. They must be quoted as strings and are case-sensitive. A general event indicates the status code of an operation and its details. Table 6.32, “General Event Fields”  indicates the permitted fields for general events. Table 6.32 General Event Fields Field Name Field Type Description general_error_code integer Event status: 0: OK Otherwise: Failed general_thread_id unsigned integer Connection/thread ID general_user.str string User name specified during authentication general_user.length unsigned integer User name length general_command.str string Command name general_command.length unsigned integer Command name length general_query.str string SQL statement text general_query.length unsigned integer SQL statement text length general_host.str string Host name general_host.length unsigned integer Host name length general_sql_command.str string SQL command type name general_sql_command.length unsigned integer SQL command type name length general_external_user.str string External user name (provided by third-party authentication plugin) general_external_user.length unsigned integer External user name length general_ip.str string Connected user IP address general_ip.length unsigned integer Connection user IP address length general_command.str  indicates a command name:  Query ,  Execute ,  Quit , or  Change user . A general event with the  general_command.str  field set to  Query  or  Execute  contains general_sql_command.str  set to a value that specifies the type of SQL command:  alter_db , alter_db_upgrade ,  admin_commands , and so forth. These values can be seen as the last components of the Performance Schema instruments displayed by this statement: mysql>  SELECT NAME FROM performance_schema.setup_instruments 1511