Connect a database
This is for the desktop app. Databases in the browser are under Sources.
Integrations need a paid plan. If the app says so, open Profile → Plan.
Steps
- Open Integrations.
- Add PostgreSQL or MySQL / MariaDB.
- Fill host, port, database, user, and password. Postgres port is usually
5432. MySQL is usually3306. - Click Connect and analyze.
- When it succeeds, Set it active.
- Open Build and ask a question.
You can also paste a URL: postgres://... or mysql://....
If connect fails
- Every field is required
- The computer must be able to reach that host (VPN if the office requires it)
- Turn on SSL if your admin said so