Uploaded image for project: 'MariaDB Connector/C'
  1. MariaDB Connector/C
  2. CONC-517

Windows install looks for plugins in the wrong location

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.11
    • Fix Version/s: 3.1.12
    • Component/s: None
    • Labels:
      None
    • Environment:
      Microsoft Windows 10 Pro 64-bit
      10.0.18363 Build 18363

      Description

      Installing the latest Windows MSI and connecting to a MySQL 8 server fails because the caching_sha2_password.dll plugin is not found. The error reports:

      Plugin caching_sha2_password could not be loaded.
      The specified module could not be found. Library path is
      'C:/Program Files/mariadb-connector-c/lib/mariadb/plugin/caching_sha2_password.dll'

      However, the standard installation path is:
      C:\Program Files\MariaDB\MariaDB Connector C 64-bit

      And caching_sha2_password.dll is installed there under lib\plugin

      The connection succeeds if I move the installed plugin directory to the incorrect path: C:\Program Files\mariadb-connector-c\lib\mariadb

      To summarise, on a standard installation, the plugins are searched in the wrong place.

      It would also be good if the plugin directory was first checked relative to the loaded libmariadb.dll - i.e. so the plugins could be put in a custom location.

      Thank you for your good work.

        Attachments

          Activity

            People

            Assignee:
            georg Georg Richter
            Reporter:
            fireonthemountain Simon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: