[CONPY-154] Plugin caching_sha2_password could not be loaded Created: 2021-05-26 Updated: 2021-06-08 |
|
| Status: | Open |
| Project: | MariaDB Connector/Python |
| Component/s: | Generic |
| Affects Version/s: | 1.0.6 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Minor |
| Reporter: | François Chareyron | Assignee: | Georg Richter |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Environment: |
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'
|
| Comments |
| Comment by Georg Richter [ 2021-06-08 ] |
|
As a workaround please either specify the environment variable MARIADB_PLUGIN_DIR (MARIADB_PLUGIN_DIR=C:\Program Files\MariaDB 10.5\lib\plugin) or put this directory in your PATH variadble. |