This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-15. For the latest, interactive version please visit https://mariadb.com/kb/.

Moving Binary Log Files

Hi, I am wondering if I can move binary log files without any issues, like for example: /var/lib/mysql/logs to /jail/mysql/logs

Yes I have to update the index file, that is renaming any instance of /var/lib/mysql/logs to /jail/mysql/logs as well as appropriate directory settings in the my.ini file. But I am encountering errors in the older versions of MySQL, I don't exactly remember what it is but it is disrupting our replication operation, that is the master is still referencing to the old directory where the files no longer exist.

I wonder if this has already been resolved in MariaDB.

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.