Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MySQL 5.7 日志时间与系统时间不一致的问题 #2

git-zjx opened this issue Jun 18, 2019 · 0 comments


Copy link

commented Jun 18, 2019


MySQL 在 5.7.2 版本中新增了 log_timestamps 控制 error log、slow_log、genera log,等等记录日志的显示时间参数,但不会影响 general log 和 slow log 写到表 (mysql.general_log, mysql.slow_log) 中的显示时间


可以被设置的值有:UTC 和 SYSTEM,默认使用 UTC


@git-zjx git-zjx added this to 配置 in MySQL Jul 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.