Installing an authentication plugin in existing MariaDB container

Hello all

I want to enable ed25519 authentication plugin in an existing MariaDB docker container. This particular container was created couple of years ago and doesn't seem to have the plugin installed yet.

root@c484282b7dd9:/# ll /usr/lib/mysql/plugin total 928 drwxr-xr-x 2 root root 4096 Mar 26 2019 ./ drwxr-xr-x 3 root root 19 Mar 26 2019 ../ -rw-r--r-- 1 root root 10416 Mar 23 2019 auth_pam.so -rw-r--r-- 1 root root 6240 Mar 23 2019 auth_socket.so -rw-r--r-- 1 root root 10568 Mar 23 2019 disks.so -rw-r--r-- 1 root root 18888 Mar 23 2019 file_key_management.so -rw-r--r-- 1 root root 92552 Mar 23 2019 ha_archive.so -rw-r--r-- 1 root root 63984 Mar 23 2019 ha_blackhole.so -rw-r--r-- 1 root root 88608 Mar 23 2019 ha_federated.so -rw-r--r-- 1 root root 121160 Mar 23 2019 ha_federatedx.so -rw-r--r-- 1 root root 133568 Mar 23 2019 ha_sphinx.so -rw-r--r-- 1 root root 159368 Mar 23 2019 handlersocket.so -rw-r--r-- 1 root root 6592 Mar 23 2019 locales.so -rw-r--r-- 1 root root 10528 Mar 23 2019 metadata_lock_info.so -rw-r--r-- 1 root root 11288 Mar 23 2019 query_cache_info.so -rw-r--r-- 1 root root 10864 Mar 23 2019 query_response_time.so -rw-r--r-- 1 root root 64816 Mar 23 2019 semisync_master.so -rw-r--r-- 1 root root 14736 Mar 23 2019 semisync_slave.so -rw-r--r-- 1 root root 59800 Mar 23 2019 server_audit.so -rw-r--r-- 1 root root 10656 Mar 23 2019 simple_password_check.so -rw-r--r-- 1 root root 10784 Mar 23 2019 sql_errlog.so -rw-r--r-- 1 root root 11040 Mar 23 2019 wsrep_info.so

While I know how to load the plugin during a new docker container setup, I have not been able to figure out how to install and load the plugin in this existing container. Could you please suggest how can I achieve this?

Regards Abhishek

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.