Details
-
Bug
-
Status: Closed (View Workflow)
-
Critical
-
Resolution: Fixed
-
10.4.6
-
None
-
Linux Centos 7.6
Description
When connecting using ed25519, the client has the default plugin path wrong. If using a specific plugin path, in the config file or on the command line, it works, even if this is set in to the same value as the default.
Extract from /etc/my.cnf.d/server.cnf
[mysqld]
|
plugin_load_add = auth_ed25519
|
Create and grant access to a user:
create user root2@'192.168.142.210' IDENTIFIED VIA ed25519 USING PASSWORD('root2'); |
grant all on *.* to root2@'192.168.142.210'; |
Connect to MariaDB using ed25519 authentification:
$ mysql -u root2 -proot2 -h 192.168.142.210
|
ERROR 1045 (28000): Plugin client_ed25519 could not be loaded: /usr//usr/lib64/mysql/plugin/client_ed25519.so: cannot open shared object file: No such file or directory |
Note the path to the plugin, there is an extra leading "/usr" there. Setting the path to the correct one works fine:
$ mysql -u root2 -proot2 -h 192.168.142.210 --plugin-dir=/usr/lib64/mysql/plugin |
Welcome to the MariaDB monitor. Commands end with ; or \g.
|
Your MariaDB connection id is 21 |
Server version: 10.4.6-MariaDB MariaDB Server
|
|
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
|
|
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. |
|
MariaDB [(none)]>
|
The above also work when setting the correct path in /etc/my.cnf.c/client.cnf or some other appropriate config file.
Attachments
Issue Links
- is caused by
-
CONC-383 Plugin auth_gssapi_client could not be loaded; missing "/usr/" prefix
- Closed
- relates to
-
CONC-376 missing prefix for searching mysql_clear_password.so
- Open
-
MDEV-19876 pam v2: auth_pam_tool_dir and auth_pam_tool permissions are wrong in RPMs
- Closed
-
MDEV-20569 Plugin dialog could not be loaded (wrong path)
- Closed