1721
MySQLERRORNotablePluginHIGH confidence
INSTALL 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_INSTALL flag, meaning it can only be loaded via the --plugin-load server startup option and not dynamically via INSTALL PLUGIN.
Why it happens
- 1Attempting dynamic installation of a plugin that requires static loading.
How to reproduce
trigger — this will error
trigger — this will error
INSTALL PLUGIN ndbcluster SONAME 'ndbcluster.so';
expected output
ERROR 1721 (HY000): Plugin 'ndbcluster' cannot be installed.
Fix
Load the plugin via server startup configuration
Load the plugin via server startup configuration
-- In my.cnf: -- plugin-load-add=ndbcluster.so -- Then restart MySQL.
Why this works
Plugins requiring static loading must be specified in the server startup configuration.
What not to do
✕
Sources
Official documentation ↗
MySQL 8.0 — 1721 ER_PLUGIN_NO_INSTALL
Content generated with AI assistance and reviewed for accuracy. Found an error? hello@errcodes.dev