Open tapochkin opened 1 year ago
@tapochkin You found fix for this ?
Unfortunately, no. Personally I have some time before I really need audit module to work. In case I come up with solution, I post it here.
Unfortunately, no. Personally I have some time before I really need audit module to work. In case I come up with solution, I post it here.
up
The same issue also appeared in MySQL version 8.0.34.
my_charset_utf8_general_ci
was renamed to my_charset_utf8mb3_general_ci
by https://github.com/mysql/mysql-server/commit/83f688baa214b0e2696d1ae9ba0d400b92fa2e0c, which affects MySQL 8.0.31 or later.
my_charset_utf8_bin
referred by src/audit_handler.cc
was also renamed.
It is really critical that a new version get built utilizing this fix. Plugin is currently unusable for MySQL 8.0
I wrote a step-by-step page for this. https://github.com/zhaopinglu/mysql-audit/blob/master/Note_for_MySQL8.0.33.md
I had a kind of script for building with 8.0.36 tested on Rocky 8.9
took @zhaopinglu note as the base
https://techblog.kerya.net/74-mysql-audit-plugin-build-script
Greetings. I'm getting the following error trying to install libaudit_plugin.so. Any ideas what to do?
OS distribution and version:
MySQL version:
Tested plugin versions (MariaDB and 5.7 versions return different errors):