ExportXMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 7.0.29
    • Component/s: Server (S)
    • None
    • Environment:
      Zabbix Server 7.0.29
      MySQL Router 26.7.1
      MySQL Server 8.4.11
    • Support backlog
    • 1

      Zabbix reads the MySQL version from the connection handshake, not from the database. When MySQL Router sits between Zabbix and MySQL Server, Zabbix gets the Router version.

      Oracle changed the Router version format to yy.mm. 

      $ mysql -h mysql-router -P 6446 -uzabbix -p -e "status" | grep -i "server version"
      Server version:  26.7.1-router MySQL Community Server - GPL
      
      $ mysql -h mysql-router -P 6446 -uzabbix -p -e "SELECT VERSION()"
      8.4.11
      

      Steps to reproduce:
      Setup environment as in description.

      Result:

      In zbx_dbms_version_info_extract()
      Unsupported DB! MySQL version 260701 is newer than 90799
      End of zbx_dbms_version_info_extract() version:260701
      Unable to start Zabbix server due to unsupported MySQL database version (26.07.01).
      

      The server exits with code 1. This is written to config.dbversion_status, which Reports -> System information shows:

      [{"database":"MySQL","current_version":"26.07.01","min_version":"5.07.28",
        "max_version":"9.07.x","min_supported_version":"8.00.30","flag":6}]
      

            Assignee:
            Zabbix Development Team
            Reporter:
            Michal Kudlacz
            Votes:
            3 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: