Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-21258

Can't uninstall plugin if the library file doesn't exist

Details

    Description

      When an installed plugin can't be loaded at startup as its .so file can't be found anymore, e.g. after switching form MySQL to MariaDB with a MySQL-only plugin installed, or when having a deprecated plugin still installed and the .so removed due to a version upgrade, the error log will contain warnings about not being able to load the plugin, but the plugin can't be removed with UNINSTALL PLUGIN or UNINSTALL SONAME.

      It can only be removed by deleting the related row in the mysql.plugin table direrctly with DELETE FROM mysql.plugin WHERE name='...'

      It should be able to remove a plugin with UNINSTALL even if it couldn't initialize for whatever reason, including missing .so file

      Attachments

        Issue Links

          Activity

            Transition Time In Source Status Execution Times
            Sergei Golubchik made transition -
            Open Confirmed
            4d 5h 35m 1
            Oleksandr Byelkin made transition -
            Confirmed In Progress
            226d 19h 26m 1
            Oleksandr Byelkin made transition -
            In Progress Closed
            1d 21h 14m 1

            People

              sanja Oleksandr Byelkin
              hholzgra Hartmut Holzgraefe
              Votes:
              1 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.