Relocating binary logs

Since binary logs occupy more space, and sometimes you may wish to change the location of binary logs, the following procedure helps. Changing the log_bin alone is not sufficient, you have to move all the binary logs and update the index file with the new location. The mysqlbinlogmove utility eases your work by automating those tasks.

Get MySQL 8 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.