[MDEV-11088] Client plugins cannot be loaded by command line tools in default installation Created: 2016-10-19  Updated: 2017-01-06  Resolved: 2017-01-06

Status: Closed
Project: MariaDB Server
Component/s: Platform Windows, Plugins, Scripts & Clients
Affects Version/s: 5.5, 10.0, 10.1, 10.2
Fix Version/s: 10.0.29

Type: Bug Priority: Major
Reporter: Vladislav Vaintroub Assignee: Vladislav Vaintroub
Resolution: Fixed Votes: 0
Labels: None


 Description   

Trying the gssapi example, the client plugin load fails with not very comprehensible message. If path to plugin directory is given with --plugin-dir, its loads ok

C:\Windows\system32>mysql -uroot
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 3
Server version: 10.1.18-MariaDB mariadb.org binary distribution
 
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
 
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
 
MariaDB [(none)]> install soname 'auth_gssapi';
Query OK, 0 rows affected (2.35 sec)
 
MariaDB [(none)]> create user 'ostc' identified via gssapi;
Query OK, 0 rows affected (0.00 sec)
 
MariaDB [(none)]> quit
Bye
 
C:\Windows\system32>mysql -uostc
ERROR 2059 (HY000): Authentication plugin 'auth_gssapi_client' cannot be loaded:
 The specified module could not be found.
 
 
C:\Windows\system32>mysql -uostc --plugin-dir="C:\Program Files\MariaDB 10.1\lib
\plugin"
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 5
Server version: 10.1.18-MariaDB mariadb.org binary distribution
 
Copyright (c) 2000, 2016, Oracle, MariaDB Corporation Ab and others.
 
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.


Generated at Thu Feb 08 07:47:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.