As reported in
https://github.com/YunoHost-Apps/monitorix_ynh/issues/77 it seems
that monitorix needs to be adjusted to be able to connect to MariaDB
instead of MySQL.
If I'm not mistaken this applies to the Debian package and not to the
derived version provided by YunoHost maintainers.
The dependencies probably need an adjustment to include
libdbd-mariadb-perl (suggested ?) and the source for the connection
string needs to be adjusted (see patch at
https://github.com/YunoHost-Apps/monitorix_ynh/issues/77#issuecomment-2782379357)
Hi Olivier,
On Mon, 2025-04-07 at 18:52 +0200, Olivier Berger wrote:
As reported in
https://github.com/YunoHost-Apps/monitorix_ynh/issues/77 it seems
that monitorix needs to be adjusted to be able to connect to MariaDB instead of MySQL.
I just tested and it seems to work fine with libdbd-mysql-perl
installed and MariaDB.
Unless you have a configuration where this does not work, I don't think
we need to change the URI in the mysql.pm file or switch to libdbd- mariadb-perl.
If I'm not mistaken this applies to the Debian package and not to the derived version provided by YunoHost maintainers.
The dependencies probably need an adjustment to include
libdbd-mariadb-perl (suggested ?) and the source for the connection
string needs to be adjusted (see patch at
https://github.com/YunoHost-Apps/monitorix_ynh/issues/77#issuecomment-2782379357)
I can certainly add libdbd-mariadb-perl (and libdbd-pg-perl) to
Suggests to hint for their installation.
Let me know what you think,
I just tested and it seems to work fine with libdbd-mysql-perl
installed and MariaDB.
Unless you have a configuration where this does not work, I don't think
we need to change the URI in the mysql.pm file or switch to libdbd- mariadb-perl.
--
Baptiste Beauplat
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 489 |
Nodes: | 16 (2 / 14) |
Uptime: | 23:07:54 |
Calls: | 9,665 |
Files: | 13,716 |
Messages: | 6,168,229 |