Report this

What is the reason for this report?

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

Posted on September 25, 2019

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



This textbox defaults to using Markdown to format your 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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.