MySQL Forums
Forum List  »  Newbie

Re: mysql 8.0 Error log is empty
Posted by: Mark Blake
Date: June 27, 2021 11:16PM

i have an update to my situation. I have repeated the following 3x to be sure.

mysql8 is actually writing events to the error.log, but only for up to 2 days after restarting it. Sometime after 2 days, the logrotate scripts have cleared all errors and no new errors can be logged, until mysql is restarted again.

the logrotate scripts recreates a blank error.log file with the ownership mysql:adm and permissions 0640 (which is correct)

So why would mysql stop writing errors to the log? our DB is tiny, and is only in testing so the volume of errors presently 150kb after about 4 hours runtime, and most of those entries are from startup.

Options: ReplyQuote


Subject
Written By
Posted
Re: mysql 8.0 Error log is empty
June 27, 2021 11:16PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.