Skip to content
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

MySQL unable to load Foreign library #78

Open
valentin-grilli opened this issue Feb 7, 2023 · 3 comments
Open

MySQL unable to load Foreign library #78

valentin-grilli opened this issue Feb 7, 2023 · 3 comments

Comments

@valentin-grilli
Copy link

Hello,

I am currently trying to use your library which seems to be very useful for my project.

I am still a newbie in Lisp and when I try to install your library and try a connection I get this error:

Error: Unable to load foreign library (LIBMYSQLCLIENT). Could not register handle for external module LIBMYSQLCLIENT (file-name libmysql.dll): Le module spécifié est introuvable.

(MySQL-server is install)

Do you have any idea where this is coming from?

I am using Win 10 64bits on LispWork Pro

Thx for the future feedback

@valentin-grilli valentin-grilli changed the title MySQL unable to load Foraign library MySQL unable to load Foreign library Feb 7, 2023
@fukamachi
Copy link
Owner

I'm a foreigner on Windows system, but did you install mysql-client, not only mysql-server?
Tell me the location of libmysqlclient.dll on your machine, then I can look into why it can't be found by cl-dbi.

@valentin-grilli
Copy link
Author

valentin-grilli commented Feb 12, 2023

i have both installed, but the .dll files is only present on the MySQL server one on the lib folder. Maybe u can show me in the installation of MySQL client how it's work ?

Thx a lot 😄

@nkhan-re
Copy link

I had the same problem, but providing the libmysql.dll in Windows\System32 allowed me to proceed. Late response, but in case you were still curious.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants