Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
5.5(EOL), 10.0(EOL)
Description
As otto and I have been trying to package auth_socket.so install this plugin during install.
As Jean and I noticed https://lists.launchpad.net/maria-developers/msg08317.html you can't install a plugin during bootstrap as it automaticly enables --skip-grant-tables (effectively).
While you can insert into the plugin table directly this skips the init routes in the plugin, fine for auth_socket since it doesn't have any, however its a bad practice we probably don't want to encourage.
If you INSERT directly into the plugin table, plugin is installed, but not loaded in memory. That is, is will be usable only after the server is restarted. Which is absolutely fine (and even desirable!) if you install a plugin for the user to use. But it's not fine if you install a plugin to use during bootstrap.
Anyway, I agree that allowing INSTALL/UNINSTALL plugin with --skip-grants is ok.