Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
10.2.27, 10.3.18, 10.4.8
-
Linux Debian 9.11 (Stretch), mariadb-server installed using APT repository from downloads.mariadb.org
Description
Since I upgraded from MariaDB 10.3.17 to 10.3.18, using apt upgrade (Debian Stretch) followed by a mysql_upgrade, I can't authenticate anymore using PAM:
myuser:~# mysql
|
ERROR 1045 (28000): Plugin dialog could not be loaded: /usr//usr/lib/mysql/plugin/dialog.so: cannot open shared object file: No such file or directory
|
=> As you can see, Plugin Path /usr//usr/lib/mysql/plugin/dialog.so is wrong (duplicate prefix /usr/)
Here are my current settings:
+---------------+------------------------+
|
| Variable_name | Value |
|
+---------------+------------------------+
|
| basedir | /usr |
|
| plugin_dir | /usr/lib/mysql/plugin/ |
|
+---------------+------------------------+
|
Specifying the right path for plugin-dir on the command line fixes the problem:
myuser:~# mysql -e "exit" && echo "OK"
|
ERROR 1045 (28000): Plugin dialog could not be loaded: /usr//usr/lib/mysql/plugin/dialog.so: cannot open shared object file: No such file or directory
|
 |
myuser:~# mysql --plugin-dir=/usr/lib/mysql/plugin -e "exit" && echo "OK"
|
OK
|
Attachments
Issue Links
- relates to
-
CONC-376 missing prefix for searching mysql_clear_password.so
- Open
-
CONC-383 Plugin auth_gssapi_client could not be loaded; missing "/usr/" prefix
- Closed
-
CONC-431 Use bcrypt on Windows for authentication plugins
- Closed
-
MDEV-19807 MariaDB client plugin path is wrong
- Closed
-
MDEV-19942 Default installation of mariadb-server doesn't allow clients to use client plugins
- Closed