博主头像
一个老头

软硬件攻城狮

LibreNMS安装 - Time between this server and the mysql database is off Mysql time XXX

由于linux是ubuntu24, 默认是mysql8
php时区已经设置 Asia/Shanghai
mysql/MariaDB 用的是system - UTC

解决方案:
export TZ='Asia/Shanghai'
service mysql restart

LibreNMS安装 - Time between this server and the mysql database is off Mysql time XXX
https://upsilon20.com/archives/19/
本文作者 ronz
发布时间 2025-01-26
许可协议 CC BY-NC-SA 4.0
发表新评论