Question

How to access the binary log of a Managed MySQL database?

Hello, I’m just starting with a managed MySQL database and I’m wondering if it has the binary log feature enabled and if there is a way to access it somehow?

Binary log documentaion: https://dev.mysql.com/doc/refman/8.0/en/binary-log.html

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

Yes, it is enabled:

mysql> show variables like 'log_bin';
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| log_bin       | ON    |
+---------------+-------+
1 row in set (0.00 sec)

I think that it is necessary for the MySQL replication and it is used by the read-only replicas. However, I don’t believe that you would be able to access them as this is a managed service.

Is there a particular reason why you need to access the bin logs?

Regards, Bobby