Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-154

Plugin caching_sha2_password could not be loaded

    XMLWordPrintable

Details

    • Bug
    • Status: Open (View Workflow)
    • Minor
    • Resolution: Unresolved
    • 1.0.6
    • None
    • Generic
    • None
    • Windows

    Description

      The following code yields an error: mariadb.OperationalError: Plugin caching_sha2_password could not be loaded: The specified module could not be found. Library path is 'c:/Program Files/MariaDB/MariaDB Connector C 64-bit/lib/plugin/caching_sha2_password.dll'

      The issue seems to be that the MariaDB server installs itself in 'C:\Program Files\MariaDB 10.5' and the DLL seems to be located here instead: 'C:\Program Files\MariaDB 10.5\lib\plugin'

      import mariadb
       
      mydb = mariadb.connect(
              host="localhost",
              user="root",
              password="password",
              database="master"
          )
      

      Attachments

        Activity

          People

            georg Georg Richter
            fchareyron François Chareyron
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.