Date Published: October 22, 2025
Clear Out MySQL Binary Logs on Your Cloud IDE
If your Cloud IDE environment disk space is full, you may need to clear out MySQL binary logs. To do so:
- Log in to the Cloud IDE terminal.
Run the following command:
This displays a list of files, some of which look like binlog.000063. Choose the oldest file you'd like to keep. (You may not want to keep any of them.)
Run the following command to login to MySQL as the root user (you can only do this on a Cloud IDE):
mysql -u root # No password needed
Run the following MySQL query and substitute the file that you chose from the list in step #3.
PURGE BINARY LOGS TO '[NAME OF FILE HERE]';
For information about why binary logs start filling up on Cloud IDE or Cloud Classic, visit Binlogs. Note that you cannot remove them on Cloud Classic environments because that part of of the platform is managed by Acquia. If you believe that is necessary, submit a Support case.
Did not find what you were looking for?
If this content did not answer your questions, try searching or contacting our support team for further assistance.