Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-11088

Client plugins cannot be loaded by command line tools in default installation

    XMLWordPrintable

    Details

      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.
      

        Attachments

          Activity

            People

            Assignee:
            wlad Vladislav Vaintroub
            Reporter:
            wlad Vladislav Vaintroub
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: