[ZBXNEXT-6820] Can't connect MariaDB 10.6.4 Created: 2021 Aug 09 Updated: 2024 Apr 10 Resolved: 2021 Sep 17 |
|
Status: | Closed |
Project: | ZABBIX FEATURE REQUESTS |
Component/s: | API (A), Frontend (F), Proxy (P), Server (S) |
Affects Version/s: | None |
Fix Version/s: | 5.0.16rc1, 5.4.5rc1, 6.0.0alpha2, 6.0 (plan) |
Type: | Change Request | Priority: | Trivial |
Reporter: | panakuma | Assignee: | Andris Zeila |
Resolution: | Fixed | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() |
||||||||||||||||
Issue Links: |
|
||||||||||||||||
Team: | |||||||||||||||||
Sprint: | Sprint 79 (Aug 2021), Sprint 80 (Sep 2021) | ||||||||||||||||
Story Points: | 1 |
Description |
Zabbix Version : 5.4.3 Revision 68dc2b05cb 21 July 2021, compilation time: Jul 21 2021 10:40:43 MariaDB Version : 10.6.4-MariaDB MariaDB 10.6 no longer has "UTF8" as the character code. |
Comments |
Comment by Alexey Pustovalov [ 2021 Aug 09 ] |
Hello! Currently you can use OLD_MODE: https://mariadb.com/kb/en/old-mode/ Kind regards, |
Comment by Alexander Vladishev [ 2021 Aug 09 ] |
Currently MariaDB 10.6 is not supported by Zabbix. See https://www.zabbix.com/documentation/current/manual/installation/requirements#required_software for more details. |
Comment by Alexander Shubin [ 2021 Aug 25 ] |
Resolved in features/ZBXNEXT-6820 |
Comment by Andris Zeila [ 2021 Sep 03 ] |
Released
Documentation updated:
|
Comment by Gerd [ 2021 Nov 04 ] |
Hi i have also already written it in Kind regards EDIT: https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-sets.html "The utf8mb3 character set is deprecated and you should expect it to be removed in a future MySQL release. Please use utf8mb4 instead. utf8 is currently an alias for utf8mb3...." |
Comment by Marco Hofmann [ 2021 Nov 16 ] |
andris Hi again =) In It seems that with Zabbix 6.0+ and MariaDB 10.6+, this change won't be enough to be future proof. I feel like there will be another DB conversion necessary in the near future. If I compare the setup instruction from Zabbix 5.4 vs 6.0, we can clearly see a change in the charset/collation command.
mysql> create database zabbix character set utf8 collate utf8_bin; VS. mysql> create database zabbix character set utf8mb4 collate utf8mb4_bin;
Add this to the notes gerry just posted above me, that utf8 (aka utf8mb3) will be deprecated and we all might have a lot of work to do. So my questions are:
Thank you very much for feedback. I have the strong feeling, this will become a big topic, as soon as Zabbix and MySQL/MariaDB remove the deprecated ut8 support. (Maybe this topic needs a separate ZBX issue?) |