Bug #96764 | audit log plugin can not be reinstalled | ||
---|---|---|---|
Submitted: | 5 Sep 2019 6:49 | Modified: | 12 Nov 2019 4:30 |
Reporter: | tu ming | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Security: Audit | Severity: | S3 (Non-critical) |
Version: | 8.0.17 | OS: | CentOS |
Assigned to: | CPU Architecture: | Any | |
Tags: | regression |
[5 Sep 2019 6:49]
tu ming
[5 Sep 2019 7:23]
MySQL Verification Team
Hello tu ming, Thank you for the report and feedback. Verified as described. regards, Umesh
[6 Sep 2019 14:56]
Marek Szymczak
This is not a bug. You need to disconnect and connect again between step 2 and 3.
[10 Sep 2019 7:05]
tu ming
If there are more than one connection on currect mysql server. login and logout again is not ok. The deleted audit log plugin would uninstalled totally once all connections over. you can have a try.
[15 Oct 2019 7:09]
tu ming
Furthermore, the percona audit log plugin does not support this behavior either. Here is the source code: https://github.com/percona/percona-server/blob/8.0/sql/sql_plugin.cc bool Sql_cmd_uninstall_plugin::execute(THD *thd) { bool st = mysql_uninstall_plugin(thd, &m_comment); if (!st) my_ok(thd); mysql_audit_release(thd); return st; }