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
Add support for DBD-MariaDB after DBD-mysql dropped support of the MariaDB #3887
Comments
Thanks for opening your first issue here! Just a reminder, this forum is for Bug Reports only. Be sure to follow the issue template! |
@abishai Thoughts? |
I'd say it needs testing. :p While the PR solves the problem with DBD-mysql, the more interesting question is it possible to build ZM with MariaDB client libraries. But probably, this is not an issue as many Linux distros switched to MariaDB long time ago? I have MariaDB server, but clients are linked against mysql client. But this PR will help a lot. I thought it won't be so easy to implement. Thanks! |
ubuntu 2310 here does not package dbd-mariadb. Debian bookworm does. So it's not universal yet. This change is needed for postgresql support as well. |
Zoneminder build fine with mariadb-client. But it can't run with p5-DBD-MariaDB. |
Describe Your Environment
If the issue concerns a camera
Describe the bug
A clear and concise description of what the bug is.
DBD-mysql dropped support of the MySQL 5.7 and MariaDB: perl5-dbi/DBD-mysql#405 (comment)
If use MariaDB then can't use Zoneminder with recent DBD-mysql.
If install https://github.com/perl5-dbi/DBD-MariaDB instead of DBD-mysql then Zoneminder can't run.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Run and work without errors with DBD-MariaDB.
Article "Migrating from DBD::mysql to DBD::MariaDB":
https://blogs.perl.org/users/grinnz/2023/12/migrating-from-dbdmysql-to-dbdmariadb.html
Debug Logs
The text was updated successfully, but these errors were encountered: