NethServer Version: 7.4.1708Module: mariadb
Hi,
when crawling through my NS, I was puzzled by mariadb vs mysql.
As far as I know, mariadb is the database of choice for NS. However, I find lots of files and references to mysql.
Even more, it gives me some problems:
I’ve installed Zoneminder (ZM) (via the @stephdl repo, thanks for that!), and sometimes after a reboot, ZM won’t start. I’ve looked into that, and here’s what I seem to have found:
(terminal output below, first the short version)

when asking for status of ZM, it reports a fail (some sql-statements can’t be inserted. DB related)

when asking status of mariadb, it reports ‘inactive, dead’. Maybe because mysql was initialized.

when asking status of mysqld, it reports active, running.

I manually stop service mysqld,

I manually start service mariadb (both succesfully).

After that I can start ZM manually succesfully.

So, it looks to me mysqld and mariadb are like aliases, but ZM only wants to start if the running service is named mariadb.
Is that indeed the case? And how to fix the starting of the db in such a way that ZM can proceed?
(I hope I clarified, if any other info is needed please ask)

You’re probably right. The mysqld service is an hack. Back to ns7 early days I produced this ugly workaround to make our mysqld configuration backward-compatible: # cat /usr/lib/systemd/system/mysqld.service .include mariadb.service I heard...

thanks @dnutan ,
but as @pnemenz added in that discussion: “and what does that mean to me”?
The link to the project card created by @davidep doesn’t work so I can’t see if it is regarded a bug, or if a workaround is available.
Does anyone know? Maybe @stephdl ?

I’d say it’s a (minor) bug.
zoneminder doesn’t come from @stephdl repo. It comes from zmrepo (zoneminder repo), and they have changed some things (for EL7: stable releases to rpmfusion, nightly builds to zmrepo), therefore the wiki will have to be updated.