New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
with mariadb-connector-c mysql_clear_password plugin failing due to bad path #289
Comments
|
I don't know. I have no idea. |
|
I hear you.
That's fixing the issue. For reference I opened https://jira.mariadb.org/projects/CONC/issues/CONC-376?filter=allopenissues |
|
Why don't you use config file? # ~/.my.cnf or other effective config files.
[client]
plugin_dir = /usr/lib/mariadb/plugin |
|
Thanks for the idea, tried, negative results |
|
How about "MARIADB_PLUGIN_DIR" environment variable? |
|
awesome @methane !!!! That worked :) Let's close this one then. Thank you |
hi developers,
When try to connect to a db with shared plugins like mysql_clear_password.so I get
_mysql_exceptions.OperationalError: (2006, 'Plugin mysql_clear_password could not be loaded: Error loading shared library lib/mariadb/plugin/mysql_clear_password.so: No such file or directory')It might/might not be an issue with mysqlclient, but normal
mysqlutility works well so I assume underlying libs are ok.OS is Alpine 3.8 on docker.
STEPS TO REPRODUCE:
If all goes well you get empty output. If it fails (like for me) you get:
the lib exists at
As it seems from the error message it tries to load from
lib/mariadb/plugin/mysql_clear_password.soThis looked a relative path for me so the interesting finding is that if you cd to /usr before run the script it works.
(empty output means it's ok)
Do you have any idea what could set the path wrong and how to fix it?
Thanks for the help in advance
The text was updated successfully, but these errors were encountered: