dev.mysql.com
15.5.1 PREPARE Statement
The PREPARE statement prepares a SQL statement and assigns it a name, stmt_name, by which to refer to the statement later. The prepared statement is executed with EXECUTE and released with DEALLOCATE PREPARE. For examples, see Section 15.5, "Prepared Statements". Statement names are not case-sensitive.
MySQL 9.2 Reference Manual
Performance Schema prepared statement instrumentation covers both protocols. The following discussion refers to the server commands rather than the C API functions or SQL statements. Information about prepared statements is available in the prepared_statements_instances table. This table enables inspection of prepared statements used in the ...