From owner-freebsd-pkg@freebsd.org Sun Dec 2 18:32:17 2018 Return-Path: Delivered-To: freebsd-pkg@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 38026132A456 for ; Sun, 2 Dec 2018 18:32:17 +0000 (UTC) (envelope-from oiok@oiok.itl.pl) Received: from smtp.intertele.pl (smtp.intertele.pl [194.42.120.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 02398783C2 for ; Sun, 2 Dec 2018 18:32:15 +0000 (UTC) (envelope-from oiok@oiok.itl.pl) Received: from smtp.intertele.pl (localhost [127.0.0.1]) by smtp.intertele.pl (Postfix) with ESMTP id 351AB20024; Sun, 2 Dec 2018 19:32:13 +0100 (CET) X-Virus-Scanned: ClamAV Received: from poczta.itl.pl (www3.intertele.pl [194.42.120.45]) (Authenticated sender: oiok) by smtp.intertele.pl (Postfix) with ESMTPA id F0AC020002; Sun, 2 Dec 2018 19:32:12 +0100 (CET) Received: from ip-157-25-244-161.multimo.pl ([]) via ip-157-25-244-161.multimo.pl ([157.25.244.161]) by poczta.itl.pl with HTTP (HTTP/1.1 POST); Sun, 02 Dec 2018 19:32:12 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sun, 02 Dec 2018 19:32:12 +0100 From: Grzegorz Wiktorowski To: Rainer Duffner Cc: Jules Gilbert via freebsd-pkg Subject: Re: Zabbix 4 and MySQL 8.0 In-Reply-To: <3B14FC79-EA60-42FD-9FAA-7BD5CCE43731@ultra-secure.de> References: <3B14FC79-EA60-42FD-9FAA-7BD5CCE43731@ultra-secure.de> Message-ID: <4030d3a2d72350358e84d37616be7942@mail.intertele.pl> X-Sender: oiok@oiok.itl.pl User-Agent: Roundcube Webmail/1.0.12 X-Rspamd-Queue-Id: 02398783C2 X-Spamd-Result: default: False [0.87 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; NEURAL_HAM_MEDIUM(-0.19)[-0.191,0]; FROM_HAS_DN(0.00)[]; NEURAL_SPAM_SHORT(0.50)[0.501,0]; NEURAL_HAM_LONG(-0.33)[-0.333,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[itl.pl]; AUTH_NA(1.00)[]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.01)[cached: mail.intertele.pl]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[38.120.42.194.list.dnswl.org : 127.0.10.0]; R_SPF_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:31604, ipnet:194.42.120.0/23, country:PL]; IP_SCORE(0.01)[country: PL(0.03)] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2018 18:32:17 -0000 W dniu 02.12.2018 16:52, Rainer Duffner napisał(a): >> Am 02.12.2018 um 11:52 schrieb Grzegorz Wiktorowski >> : >> >> First I installed mysql80-server-8.0.11 package. Then I installed >> zabbix4-server-4.0.1 package. Zabbix package informed that it needed >> MySql >> version 5.6 and forced to deinstall MySql version 8.0 and install >> MySql >> version 5.6. >> >> ASFAIK from Zabbix website MySql version 8 is suitable for Zabbix >> version >> 4. I don't dare to say it seems as an oversight in package >> dependences. Is >> there any workaround to install&run Zabbix with version 8.0 of MySql? >> >> >> -- >> Grzegorz Wiktorowski >> _______________________________________________ >> freebsd-pkg@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-pkg >> To unsubscribe, send any mail to "freebsd-pkg-unsubscribe@freebsd.org" > > > Packages can only be compiled with one database-dependency at a time. > > The default-version is still it MySQL 5.6, it seems. > > If you want to change that, you will have to build your own packages > (usually, this implies building all your packages because mixing > different repositories that offer the same packages doesn’t usually > work too well). > > > > Alternatively, put MySQL 8.0 Zabbix each in its own jail. I just scrolled the history of net-mgmt/zabbix?-server/Makefile. There is the change "- stop having all databases as dependencies all the time" introduced in net-mgmt/zabbix3-server/Makefile. The clause "USES+=mysql" has been replaced by "MYSQL_USES+=mysql". net-mgmt/zabbix4-server/Makefile duplicates the feature. I guess that's the cause of not finding & using the current installed version of MySQL. -- Grzegorz Wiktorowski