Details
-
Task
-
Status: Stalled (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
plugins should be able to provide install/uninstall/upgrade scriptlets (at least shell, perhaps sql too).
they'll be called at the appropriate places by rpm/dpkg as needed.
in bintars install scriptlets will be run by mysql_install_db and mysql_upgrade.
See also MDEV-19852
Attachments
Issue Links
- duplicates
-
MDEV-19852 Change plugin API to allow plugins to run a script when installed
-
- Closed
-
- relates to
-
MDEV-22979 "mysqld --bootstrap" / mysql_install_db hangs when Spider is installed
-
- Closed
-
-
MDEV-27095 Simplify spider init queries
-
- Closed
-
-
MDEV-19842 Crash while creating statistics for Spider table
-
- Closed
-
-
MDEV-19876 pam v2: auth_pam_tool_dir and auth_pam_tool permissions are wrong in RPMs
-
- Closed
-
-
MDEV-22482 pam v2: mysql_upgrade doesn't fix the ownership/privileges of auth_pam_tool
-
- Open
-
Another option (as suggested in
MDEV-19852) would be to run them on INSTALL/UNINSTALL PLUGIN.That might work if there's an SQL scriptlet to run. But it cannot do a shell scriptlet.