문제

Because of the file storage full, we are removing mysql bin log files.

Accidentally, we removed mysql-bin.index file.

What happens if I remove mysql-bin.index file?

These below are my DBMS info. Thank you.

MariaDB 10.4
Single Instance
engine: InnoDB Engine
도움이 되었습니까?

해결책

If you erased all the binary logs, the mysql-bin.index can also go.

Do you still need binary logging ? You must restart MariaDB, and the mysqld process will recreate mysql-bin.index it for you.

If you no longer want binary logging, you must comment out log-bin from the MariaDB config file. You still need to restart MariaDB.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 dba.stackexchange
scroll top