Bug 250232 - Zabbix Server 5 with mariadb
Summary: Zabbix Server 5 with mariadb
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2020-10-09 20:36 UTC by Cristian Cardoso
Modified: 2020-11-03 20:46 UTC (History)
1 user (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Cristian Cardoso 2020-10-09 20:36:04 UTC
When I install zabbix5 on FreeBSD 12, the package installs mysql 5.7 as a dependency, if I try to use another database via pkg, it removes zabbix, thus making it impossible to use another database system of your choice.
Would it be possible to modify the port to be able to use mariaDB or PostgreSQL?
Comment 1 VVD 2020-10-10 04:03:45 UTC
You can build net-mgmt/zabbix5-server self with options you need - PostgreSQL.
Also you can set default mysql server to mariadb:
echo 'DEFAULT_VERSIONS+= mysql=10.5m' >> /etc/make.conf
And then build net-mgmt/zabbix5-server with option mysql on.

P.S. You already ask same question: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250040
Comment 2 Cristian Cardoso 2020-10-10 04:32:17 UTC
sorry for the repetition of the question, I was not showing the last bug report and as I did the report at dawn, I thought I had not gone.  Thank you for your help.