Skip to content

Commit

Permalink
Fix plugin directory in the config file
Browse files Browse the repository at this point in the history
Attempt to install the plugin currently fails with:

$ echo "INSTALL PLUGIN sql_errlog SONAME 'sql_errlog';" | mysql -uroot
ERROR 1126 (HY000) at line 1: Can't open shared library '/usr/lib64/mysql/plugin/sql_errlog.so' (errno: 11, cannot open shared object file: No such file or directory)

It's not clear to me whether this file with path spec is still needed at all, especially in versions that do not have a build for SCL (if it was added for that reason at all). Maybe this base.cnf might be removed, but I didn't do proper analysis to be able to say that it's possible. So, applying minimal patch meanwhile.
  • Loading branch information
hhorak authored and pkubatrh committed Apr 10, 2024
1 parent 2ee8da4 commit 05f6915
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[mysqld]
datadir = ${MYSQL_DATADIR}
basedir = ${MYSQL_PREFIX}
plugin-dir = ${MYSQL_PREFIX}/lib64/mysql/plugin
plugin-dir = ${MYSQL_PREFIX}/lib64/mariadb/plugin

0 comments on commit 05f6915

Please sign in to comment.