# Frequently asked questions

> Answers to the most common questions about OpenDB: cost, privacy, writes, supported engines and troubleshooting.

Source: https://www.opendb.tools/en/docs/faq

## General

### Is OpenDB free?

Yes. OpenDB is free and open source. If you use a paid AI provider, you pay for its usage directly to that provider.

### Which databases are supported?

MySQL, MariaDB, PostgreSQL and SQLite.

### Do I need to know SQL?

No. You can ask your questions in plain language, and filter and edit data in a grid. The agent always shows you the SQL it writes, which is also a good way to learn it.

### Which languages does OpenDB support?

The interface exists in English and French. The agent answers in the language of the interface.

## Privacy

### Is my data sent to a third party?

It depends on the AI provider you choose.

- With a [local model](/en/docs/ollama), nothing leaves your machine.
- With a third-party provider, your questions and the rows the agent reads to answer go through its servers.

In both cases, the tables, key figures and charts shown in the chat are loaded by your browser and do not go through the model. See [Artifacts](/en/docs/artifacts).

### How do I use a third-party provider without exposing my real data?

[Clone the database](/en/docs/cloning-anonymization) and anonymize the sensitive columns. The agent then works on a copy whose personal data has been replaced.

### Can I hide a table from the agent?

Yes, in **Project settings → Table access**. You cannot hide a single column: for that, anonymize it in a clone.

### Where are my API keys stored?

In OpenDB's database, encrypted. They are never shown in full again nor sent to the model.

## The agent

### Can the agent change my database without asking?

No. By default it works in **read-only** mode and has no tool to write. In read-write mode, deletions, updates and structure changes wait for your approval. See [Modes and approvals](/en/docs/modes-and-approvals).

### Why does the agent refuse a query that looks correct to me?

OpenDB's checks refuse when in doubt. The most common causes:

- the query mentions a hidden table, sometimes only inside a text value;
- it contains several statements;
- your privileges do not cover the operation;
- the agent is in read-only mode.

### Why does the agent not answer?

No provider is connected, or no model is enabled. OpenDB has no default model. See [AI providers](/en/docs/ai-providers).

### The agent stops in the middle of a task. Why?

It reached the maximum number of steps per answer. Raise it in **Settings → AI agent**, or ask it to continue.

### Answers cost too many tokens. What can I do?

Lower the number of rows read per query, keep the standard effort and ask for displays rather than reads. See [Usage](/en/docs/usage).

## Using OpenDB

### What is the difference between the web interface and the terminal?

Both use the same agent, the same tools and the same conversations. The terminal suits a server or a quick question. The web interface adds the data grid, the SQL editor and the ERD schema. See [Chat in the terminal](/en/docs/cli).

### Can I share a project with my team?

Yes. Create one account per person and grant them privileges on the project. Everyone keeps their own conversations and files. See [Share a project](/en/docs/share-a-project).

### Can I use OpenDB from Claude Code or Cursor?

Yes, through the [MCP server](/en/docs/mcp-server), read-only.

### Why can't I edit the rows of a table?

Either the table has no primary key, or you do not hold the `UPDATE` privilege on it.

## Troubleshooting

### The structure shown is out of date

OpenDB keeps the database structure in a cache. Clear it in **Settings → About → Clear the cache**.

### I forgot the password of an account

A user who holds the `CREATE USER` privilege can reset it:

```bash
opendb user:update camille --password
```

### Where are the logs?

In `~/.opendb/logs/`. The `agent.log` file holds the agent's activity, `mcp.log` that of external agents.

### I cannot find my answer

Use the search of this documentation (`Ctrl` + `K`), or write to [contact@audmbag.com](mailto:contact@audmbag.com).
