Hi,
I managed to successfully upgrade MySQL from 5.7.8 to 8.0 with Zabbix working fine.
When I've upgraded follow your guide: https://www.zabbix.com/documentation.../debian_ubuntu
I can see the first time the new Zabbix starts up - upgrade halts at 10% giving me this forever loop:
18206:20220509:135013.970 database is down: reconnecting in 10 seconds
18206:20220509:135023.973 database connection re-established
18206:20220509:135023.973 database upgrade failed
18384:20220509:135034.047 Starting Zabbix Server. Zabbix 6.0.4 (revision 3d787ff402e).
18384:20220509:135034.047 ****** Enabled features ******
18384:20220509:135034.047 SNMP monitoring: YES
18384:20220509:135034.047 IPMI monitoring: YES
18384:20220509:135034.048 Web monitoring: YES
18384:20220509:135034.048 VMware monitoring: YES
18384:20220509:135034.048 SMTP authentication: YES
18384:20220509:135034.048 ODBC: YES
18384:20220509:135034.048 SSH support: YES
18384:20220509:135034.048 IPv6 support: YES
18384:20220509:135034.048 TLS support: YES
18384:20220509:135034.048 ******************************
18384:20220509:135034.048 using configuration file: /etc/zabbix/zabbix_server.conf
18384:20220509:135034.137 current database version (mandatory/optional): 05010038/05010038
18384:20220509:135034.137 required mandatory version: 06000000
18384:20220509:135034.137 starting automatic database upgrade
18384:20220509:135034.251 [Z3005] query failed: [2013] Lost connection to MySQL server during query [alter table dashboard modify `userid` bigint unsigned]
18384:20220509:135034.251 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
18384:20220509:135034.251 database is down: reconnecting in 10 seconds
18384:20220509:135044.252 database connection re-established
18384:20220509:135044.252 database upgrade failed
Do you have any ideas on what I can do to solve this? I have been looking around but can't seem to find how/why it can't upgrade.
/Best regards
I managed to successfully upgrade MySQL from 5.7.8 to 8.0 with Zabbix working fine.
When I've upgraded follow your guide: https://www.zabbix.com/documentation.../debian_ubuntu
I can see the first time the new Zabbix starts up - upgrade halts at 10% giving me this forever loop:
18206:20220509:135013.970 database is down: reconnecting in 10 seconds
18206:20220509:135023.973 database connection re-established
18206:20220509:135023.973 database upgrade failed
18384:20220509:135034.047 Starting Zabbix Server. Zabbix 6.0.4 (revision 3d787ff402e).
18384:20220509:135034.047 ****** Enabled features ******
18384:20220509:135034.047 SNMP monitoring: YES
18384:20220509:135034.047 IPMI monitoring: YES
18384:20220509:135034.048 Web monitoring: YES
18384:20220509:135034.048 VMware monitoring: YES
18384:20220509:135034.048 SMTP authentication: YES
18384:20220509:135034.048 ODBC: YES
18384:20220509:135034.048 SSH support: YES
18384:20220509:135034.048 IPv6 support: YES
18384:20220509:135034.048 TLS support: YES
18384:20220509:135034.048 ******************************
18384:20220509:135034.048 using configuration file: /etc/zabbix/zabbix_server.conf
18384:20220509:135034.137 current database version (mandatory/optional): 05010038/05010038
18384:20220509:135034.137 required mandatory version: 06000000
18384:20220509:135034.137 starting automatic database upgrade
18384:20220509:135034.251 [Z3005] query failed: [2013] Lost connection to MySQL server during query [alter table dashboard modify `userid` bigint unsigned]
18384:20220509:135034.251 [Z3001] connection to database 'zabbix' failed: [2002] Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)
18384:20220509:135034.251 database is down: reconnecting in 10 seconds
18384:20220509:135044.252 database connection re-established
18384:20220509:135044.252 database upgrade failed
Do you have any ideas on what I can do to solve this? I have been looking around but can't seem to find how/why it can't upgrade.
/Best regards
Comment