[ZBX-26112] Can't access to zabbix mysql database after upgading from 6.0.38 to 7.0.9 Created: 2025 Feb 27  Updated: 2025 Jul 30  Resolved: 2025 Jul 30

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F), Server (S)
Affects Version/s: 7.0.9
Fix Version/s: None

Type: Problem report Priority: Trivial
Reporter: Dmitry V. Rudanov Assignee: Unassigned
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

FreeBSD 13.4 after upgrade from 13.2, MySQL, php8.1, apache 2.4


Attachments: JPEG File z7_scr1_1.jpg     JPEG File z7_scr2_1-1.jpg     Zip Archive zabbix_server_log.zip    

 Description   

Steps to reproduce:

1. Upgrading FreeBSD from 13.2 to 13.4

2. Upgrading Zabbix 6.0.27 to 6.0.38. All works fine, no errors in logs.

3. Upgrading all installed ports with dependencies via portmaster

3. "make deinstall" for zabbix-server, zabbix-frontend, zabbix-agent

4. Installing zabbix7 components - server, frontend, agent. Reboot. Database fully updated.
No errors in logs.

5. Trying connect to zabbix database via zabbix setup screen

Result:

1. Not detected default language (displayed character "i")

2. Prerequisites screen without any errors

3. Database type displayed as "i" - undefined, expected - "MySQL"
Access to database impossible.

See screenshots...



 Comments   
Comment by Dmitry V. Rudanov [ 2025 Feb 27 ]

Attempts to update have been made repeatedly since the release of version 7.0 across several versions with the same result.

Comment by Tomasz Grzechulski [ 2025 Mar 12 ]

Hello,

If possible, please provide zabbix_server.log,

Comment by Dmitry V. Rudanov [ 2025 Mar 12 ]

Hello, Tomasz. Log attached.

Comment by Julianna Wilamowska (Inactive) [ 2025 Apr 14 ]

Hi, 

please check if DBSocket is configured correctly in server configuration file. 

Comment by Dmitry V. Rudanov [ 2025 Apr 14 ]

Hi, Julianna. Option DBSocket was not defined in my config. But I tryed to define this option (and DBPort too) - without any results.

Comment by Alexey Pustovalov [ 2025 Jul 24 ]

Do you have installed PHP MySQL package?

Generated at Sat Aug 02 09:24:53 EEST 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.