Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-2308

Change default for connector_plugindir

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.3
    • Fix Version/s: 2.3.4
    • Component/s: Core, Packaging
    • Labels:
      None

      Description

      The default value for connector_plugindir is /var/lib/plugin.

      https://mariadb.com/kb/en/mariadb-maxscale-23-mariadb-maxscale-configuration-usage-scenarios/#connector_plugindir

      I think that the default should be changed to the location where the MariaDB-common package installs authentication plugins on the specific OS. On RHEL/CentOS, that's /usr/lib64/mysql/plugin/:

      [ec2-user@ip-172-30-0-106 ~]$ sudo rpm -q MariaDB-common
      MariaDB-common-10.3.12-1.el7.centos.x86_64
      [ec2-user@ip-172-30-0-106 ~]$ sudo rpm -q MariaDB-common --list | grep "plugin"
      /usr/lib64/mysql/plugin
      /usr/lib64/mysql/plugin/auth_gssapi_client.so
      /usr/lib64/mysql/plugin/caching_sha2_password.so
      /usr/lib64/mysql/plugin/client_ed25519.so
      /usr/lib64/mysql/plugin/dialog.so
      /usr/lib64/mysql/plugin/mysql_clear_password.so
      /usr/lib64/mysql/plugin/sha256_password.so
      

      Otherwise, users can see errors like MXS-2293.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              markus makela markus makela
              Reporter:
              GeoffMontee Geoff Montee
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: