-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Could not compile mysqlclient-sys
.
#1608
Comments
Please have a look at the readme of that crate (https://github.com/sgrif/mysqlclient-sys). If you are still having issues, please open an issue over there. |
I got the same problem while installing
Does this problem solved by anyone? Please, help. VersionsRust: 1.33.0 stable |
@NotIntMan You are missing libmysqlclient. Probably you need to set an environment variable to point to the right directory, but I'm not sure about that (I'm not using windows 🤷♂️ ). See the documentation of mysqlclient-sys for details |
For windows install https://downloads.mysql.com/archives/c-c/ |
@liuspatt thank man, it worked 😄 |
For everyone on Windows that has WSL2. |
@liuspatt How did you know to use this exact name of env variable "MYSQLCLIENT_LIB_DIR"? I'm asking because doing it in path variable results in error. |
@liuspatt not work in windows 10, |
I have the same problem |
|
你解决了嘛 |
Hello,
I want to connect to a mysql database, but I'm getting the following error:
Versions
Steps to reproduce
Cargo.toml:
** #1286 does not solve the issue for me **
The text was updated successfully, but these errors were encountered: