MySQL Forums
Forum List  »  General

Why does server want to open latest binary log after rebooting?
Posted by: MINORU KANAKI
Date: September 24, 2015 04:37AM

I removed binary logs using rm command.
# I know that it is prohibited.

After that, I rebooted MySQL and it was not started.

150916 5:12:50 [ERROR] Failed to open log (file '/opt/software/database/mysql_log/mysql.000063', errno 2)
150916 5:12:50 [ERROR] Could not open log file

I checked a following line in a online manual.
Why does the server want to open the latest file?
What does it confirm?
Why does it not create new file all the time?


MySQL 5.1 with Maria Reference Manual
5.2.4. The Binary Log
The server creates a new file in the series each time it starts or flushes the logs.

Options: ReplyQuote


Subject
Written By
Posted
Why does server want to open latest binary log after rebooting?
September 24, 2015 04:37AM


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.