High-risk tools in Mysql
14 of the 233 tools in Mysql are classified as high risk. This page profiles those tools specifically, with recommended policy actions and the attack patterns that target them.
Every operation listed below is an action PolicyLayer recommends controlling at the transport layer. Open any tool to see the full profile, risk score, and YAML policy snippet.
Tools at high risk
-
mysql_analyze_tableExecuteAnalyze a table to update key distribution statistics.
-
mysql_auto_index_rebuild_schedulerExecuteAutomatically schedule index rebuilds based on usage patterns.
-
mysql_flush_logsExecuteFlush MySQL logs.
-
mysql_flush_privilegesExecuteFlush MySQL privileges to reload grant tables.
-
mysql_flush_tablesExecuteFlush MySQL tables.
-
mysql_optimize_tableExecuteOptimize a table to reclaim unused space and defragment.
-
mysql_repair_tableExecuteRepair a possibly corrupted table.
-
mysql_use_databaseExecuteSwitch to a different database.
-
rebuild_table_indexesExecuteRebuild all indexes for a table.
-
create_eventExecuteCreate a scheduled event.
-
create_stored_procedureExecuteCreate a stored procedure.
-
mysql_lock_tablesExecuteLock tables for the current session.
-
mysql_set_variableExecuteSet a MySQL variable.
-
mysql_unlock_tablesExecuteUnlock all tables for the current session.
Attacks that target this class
High-risk tools in any server share these documented attack patterns. Each links to the full case and the defensive policy.