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
{"report":{"fcp":2156,"ttfb":579.0999999046326,"pageVisibility":"visible","entityId":81025,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"1d1473e6-6b4e-4f36-bd2c-77b8119104ff","navigationType":0,"readyForUser":2284.2999997138977,"redirectCount":0,"resourceLoadedEnd":1805.5999999046326,"resourceLoadedStart":597.4000000953674,"resourceTiming":[{"duration":45.799999713897705,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":597.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":597.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":643.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":45.700000286102295,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":597.6999998092651,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":597.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":643.4000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":909.7999997138977,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":597.9000000953674,"connectEnd":652.0999999046326,"connectStart":652.0999999046326,"domainLookupEnd":652.0999999046326,"domainLookupStart":652.0999999046326,"fetchStart":597.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":653.7999997138977,"responseEnd":1507.6999998092651,"responseStart":693.9000000953674,"secureConnectionStart":652.0999999046326},{"duration":1110,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":598.0999999046326,"connectEnd":598.0999999046326,"connectStart":598.0999999046326,"domainLookupEnd":598.0999999046326,"domainLookupStart":598.0999999046326,"fetchStart":598.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":654.0999999046326,"responseEnd":1708.0999999046326,"responseStart":694.6999998092651,"secureConnectionStart":598.0999999046326},{"duration":207.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":600.5999999046326,"connectEnd":600.5999999046326,"connectStart":600.5999999046326,"domainLookupEnd":600.5999999046326,"domainLookupStart":600.5999999046326,"fetchStart":600.5999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":696.0999999046326,"responseEnd":808.0999999046326,"responseStart":713.5999999046326,"secureConnectionStart":600.5999999046326},{"duration":213,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":600.9000000953674,"connectEnd":600.9000000953674,"connectStart":600.9000000953674,"domainLookupEnd":600.9000000953674,"domainLookupStart":600.9000000953674,"fetchStart":600.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":696.9000000953674,"responseEnd":813.9000000953674,"responseStart":717.0999999046326,"secureConnectionStart":600.9000000953674},{"duration":218.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":601.0999999046326,"connectEnd":601.0999999046326,"connectStart":601.0999999046326,"domainLookupEnd":601.0999999046326,"domainLookupStart":601.0999999046326,"fetchStart":601.0999999046326,"redirectEnd":0,"redirectStart":0,"requestStart":697.5,"responseEnd":819.6999998092651,"responseStart":750.5,"secureConnectionStart":601.0999999046326},{"duration":74.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":601.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":601.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":676,"responseStart":0,"secureConnectionStart":0},{"duration":218.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":601.6999998092651,"connectEnd":601.6999998092651,"connectStart":601.6999998092651,"domainLookupEnd":601.6999998092651,"domainLookupStart":601.6999998092651,"fetchStart":601.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":698,"responseEnd":820.5999999046326,"responseStart":756.6999998092651,"secureConnectionStart":601.6999998092651},{"duration":74.2999997138977,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":601.9000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":601.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":676.1999998092651,"responseStart":0,"secureConnectionStart":0},{"duration":220.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":602.2999997138977,"connectEnd":602.2999997138977,"connectStart":602.2999997138977,"domainLookupEnd":602.2999997138977,"domainLookupStart":602.2999997138977,"fetchStart":602.2999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":699.5,"responseEnd":822.7999997138977,"responseStart":757.5999999046326,"secureConnectionStart":602.2999997138977},{"duration":1179.3000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":618.6999998092651,"connectEnd":618.6999998092651,"connectStart":618.6999998092651,"domainLookupEnd":618.6999998092651,"domainLookupStart":618.6999998092651,"fetchStart":618.6999998092651,"redirectEnd":0,"redirectStart":0,"requestStart":830.4000000953674,"responseEnd":1798,"responseStart":1743.0999999046326,"secureConnectionStart":618.6999998092651},{"duration":1186.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":618.7999997138977,"connectEnd":618.7999997138977,"connectStart":618.7999997138977,"domainLookupEnd":618.7999997138977,"domainLookupStart":618.7999997138977,"fetchStart":618.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":838.7999997138977,"responseEnd":1805.5999999046326,"responseStart":1793.9000000953674,"secureConnectionStart":618.7999997138977},{"duration":191.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1667.7999997138977,"connectEnd":1667.7999997138977,"connectStart":1667.7999997138977,"domainLookupEnd":1667.7999997138977,"domainLookupStart":1667.7999997138977,"fetchStart":1667.7999997138977,"redirectEnd":0,"redirectStart":0,"requestStart":1798.1999998092651,"responseEnd":1859.5999999046326,"responseStart":1828.9000000953674,"secureConnectionStart":1667.7999997138977}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":67,"responseStart":579,"responseEnd":597,"domLoading":585,"domInteractive":2373,"domContentLoadedEventStart":2373,"domContentLoadedEventEnd":2432,"domComplete":3291,"loadEventStart":3291,"loadEventEnd":3304,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2347.4000000953674},{"name":"bigPipe.sidebar-id.end","time":2348.2999997138977},{"name":"bigPipe.activity-panel-pipe-id.start","time":2348.5},{"name":"bigPipe.activity-panel-pipe-id.end","time":2351},{"name":"activityTabFullyLoaded","time":2448.2999997138977}],"measures":[],"correlationId":"22a1c67ea420de","effectiveType":"4g","downlink":9.3,"rtt":0,"serverDuration":441,"dbReadsTimeInMs":11,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
I agree that UINSTALL PLUGIN should work. Just like DROP TABLE works if the table is corrupted.