Question

How to access and download log database mysql?

My team need to access all log to database and present it to auditor IT. How we can access all log database from beginning?

Thanks.


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @uiconnect,

You should be able to find the logs in your DigitalOcean’s Control Panel. Once you are in, on the left of your screen you should see a tab called Databases. Clicking on it will provide you with your Managed Database instance, chose the one you need logs for, and click on Logs & Queries<^>. Once inside, you’ll be able to see the logs you need.

Sadly, you can’t download them but you can view them.

Hello,

You can find the logs of your managed database cluster by following these steps:

  • Go to your DigitalOcean Control Panel
  • From the menu on the left, click on “Databases”
  • Then chose your database cluster
  • After that click on “Logs & Queries”
  • In there you can see your logs in real-time

It is not possible to download the logs at the moment, but there is an existing idea for this which you can upvote here:

https://ideas.digitalocean.com/app-framework-services/p/provide-managed-database-logs

Best,

Bobby