A database is a tool used to collect and organize information. Databases can store information about people, products, orders, or other items.
cdmon databases are MySQL. MySQL is based on a client-server model. The core of MySQL is the MySQL server, which handles all database instructions (or commands). The MySQL server is available as a standalone program for use in a client-server network environment (phpMyAdmin).
All the content of the website stored in the database is not deleted unless explicit actions are taken to remove that content from the database. The issue is that if it is not deleted, the database will continue storing all data since its creation, and database space is not unlimited. Therefore, if the storage limit is exceeded, the website associated with this database will not be able to continue storing content.
In this guide, we will show how to free up space in a cdmon database using phpMyAdmin.
How to view the list of hosting databases
To view the created databases, simply go to Databases and click on the MySQL icon.
You must go to MySQL database list, where you will be able to see all the created databases and the space used by each one.
How to free space in a database
The MySQL access details can be found in the summary at the beginning of the
hosting management screen, under
Hosting information.
Once you have the MySQL username and password, you will be able to access phpMyAdmin from the Access databases (phpMyAdmin) icon in the "Databases" section.
When you click the Access databases (phpMyAdmin) option, you will reach the following screen, where you will be asked for the MySQL user, MySQL password, and for security reasons you must also enter the Captcha. Once the information is entered correctly, you will access phpMyAdmin.
Once inside phpMyAdmin, you must select the database you want to manage:
Next, all the tables contained in the selected database will be displayed.
To see which tables take up the most space, you only need to filter the tables by size. To do this, go to the values of all tables and click on Size as shown in the image:
This way you can filter all tables from largest to smallest by size, allowing you to easily identify the ones using the most space.
Next, you only need to delete content from the table you want to clean up. You can either delete the entire table or access it and remove specific data.
To delete, simply select the table in question and click on Delete.
IMPORTANT: Keep in mind the initial explanation, meaning that the content of the database consists of data and information about your website. Before deleting anything, we recommend reviewing and verifying that the table you intend to remove is the correct one, as it may directly affect your website.