1720
MySQLERRORNotablePluginHIGH confidence
UNINSTALL PLUGIN is not permitted for this plugin
Production Risk
Low — operation rejected; server state unchanged.
What this means
The plugin was built with the PLUGIN_OPT_NO_UNINSTALL flag, which permanently prevents runtime uninstallation without restarting the server.
Why it happens
- 1Attempting to uninstall a plugin that explicitly disallows runtime removal.
How to reproduce
trigger — this will error
trigger — this will error
UNINSTALL PLUGIN performance_schema;
expected output
ERROR 1720 (HY000): Plugin 'performance_schema' cannot be uninstalled.
Fix
Disable the plugin via configuration instead
Disable the plugin via configuration instead
-- In my.cnf: -- performance_schema = OFF -- Then restart MySQL.
Why this works
Plugins that disallow runtime uninstall can only be disabled via server configuration and restart.
What not to do
✕
Sources
Official documentation ↗
MySQL 8.0 — 1720 ER_PLUGIN_NO_UNINSTALL
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev