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

Plugin dialog could not be loaded (wrong path)

    XMLWordPrintable

    Details

      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

            Activity

              People

              Assignee:
              sanja Oleksandr Byelkin
              Reporter:
              nico Nicolas Payart
              Votes:
              6 Vote for this issue
              Watchers:
              13 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: