Click or drag to resize
MySqlTraceEventType Enumeration
Specifies the event that triggered the trace.

Namespace:  MySql.Data.MySqlClient
Assembly:  MySql.Data (in MySql.Data.dll) Version: 8.0.21
public enum MySqlTraceEventType
  Member nameValueDescription
ConnectionOpened1 A connection has been opened.
ConnectionClosed2 A connection has been closed.
QueryOpened3 A query has been executed.
ResultOpened4 Data has been retrieved from the resultset.
ResultClosed5 Data retrieval has ended.
QueryClosed6 Query execution has ended.
StatementPrepared7 The statement to be executed has been created.
StatementExecuted8 The statement has been executed.
StatementClosed9 The statement is no longer required.
NonQuery10 The query provided is of a nonquery type.
UsageAdvisorWarning11 Usage advisor warnings have been requested.
Warning12 Noncritical problem.
Error13 An error has been raised during data retrieval.
QueryNormalized14 The query has been normalized.
See Also