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

failed to connect to mysql database after I upgrade the mariadbclient library inside the msys2 #1123

Closed
asmwarrior opened this issue Jan 25, 2024 · 2 comments
Labels

Comments

@asmwarrior
Copy link

Hi, I have recently update the msys2 to the latest version, and soon I found that soci failed to connect to the mysql library.

Here is the details:

soci+mariadbclient 3.3.8-1 failed to connect to a mysql database, while it works with 3.1.13(replace the libmariadb.dll with old one works) · Issue #19861 · msys2/MINGW-packages

Maybe, this is caused that the mariadbclient 3.3.8 has the different interface with the mariadbclient 3.1.13.

Any idea how to fix this issue? Thanks.

@vadz
Copy link
Member

vadz commented Jan 25, 2024

This looks like mariadb installation problem, i.e. I'm pretty sure that just using its C API directly would fail too. IMO it's not a SOCI problem at all, so closing.

@vadz vadz closed this as not planned Won't fix, can't repro, duplicate, stale Jan 25, 2024
@vadz vadz added the MySQL label Jan 25, 2024
@asmwarrior
Copy link
Author

Hi, @vadz , with the help of msys2 package devs, this issue is located and now fixed in the msys2, See that issue (soci+mariadbclient 3.3.8-1 failed to connect to a mysql database, while it works with 3.1.13(replace the libmariadb.dll with old one works) · Issue #19861 · msys2/MINGW-packages) for more details.

Sorry about the noise.

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

No branches or pull requests

2 participants