Skip to content
All panels

Database

Core

Browse SQL databases and run read-only queries by default.

What it does

The Database panel connects to PostgreSQL, MySQL and SQLite, lists each connection’s tables in a tree and runs SQL, read only by default. Paste a connection string, fill in the fields or pick a database it finds on this computer: a running Docker container, an address in the project’s env files or a server on its usual local port. Every connection starts read only, pointing a tab at a prod connection puts it back to read only, and a destructive statement waits until you type the name of what it destroys, a check Deska runs before the statement reaches the server. A saved password is encrypted with your system’s store, or kept in memory for that run where the system has no encrypted store, and the panel never sees it again; Dex sees the connection, the chosen schema and the open statement, and on request lists the tables of connections you opened and describes their structure, never the rows or a password.

Good for

  • Checking what an agent’s migration did to your tables, next to its task
  • Reading a database tagged prod with no way to write to it by accident
  • Asking Dex about the statement in the open tab

Learn more