# Accessing the database

We highly recommend you **never access the database directly** and always use Chamilo's admin tools to alter your data. This will ensure data integrity and will allow any administrator to safely an quickly analyse your data in case of problem.

We do, however, acknowledge the need to access the database in some very specific circumstances to execute large operations faster.

To do this, we recommend using applications that do not require too much work for installation and configuration, like adminer.php. Adminer is a small, one-script application that allows you to connect to your database, execute SQL operations, then remove the file when you're done. This way, you do not make your database server vulnerable to remote attacks for longer than required, and you do not increase the complexity of your system.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.chamilo.org/1.11.x/admin-guide/appendix/accessing_the_database.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
