3092
MySQLERRORNotableServer AdministrationHIGH confidence

Plugin cannot be uninstalled

Production Risk

Low — only the uninstall operation fails.

What this means

An attempt was made to uninstall a plugin that is marked as permanent and cannot be unloaded.

Why it happens
  1. 1Using UNINSTALL PLUGIN on a built-in or permanently registered plugin.
How to reproduce
trigger — this will error
trigger — this will error
UNINSTALL PLUGIN mysql_native_password;

expected output

ERROR 3092 (HY000): Plugin 'mysql_native_password' is a permanent plugin and cannot be uninstalled.

Fix

Do not attempt to uninstall permanent plugins

Do not attempt to uninstall permanent plugins
SHOW PLUGINS;  -- Review the 'Status' column; 'ACTIVE' (permanent) plugins cannot be removed

Why this works

Permanent plugins are compiled in and cannot be removed at runtime.

What not to do

Sources
Official documentation ↗

MySQL 8.0 — 3092 ER_PLUGIN_IS_PERMANENT2

Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev

← All MySQL errors