DBMaster

Getting started

In a few minutes you will have a connection working. This page covers the connection list, the form, TLS, the SSH tunnel, the backup, local files, the sample database and the settings.

The connection list

When you open DBMaster you see your connections. Each one shows its name, the engine and the address, and a label with its environment (Development, Staging or Production). Tap one to open it.

  • Type in Search connections to filter.
  • The pencil edits the connection and the trash can deletes it (its passwords and keys are deleted with it).
  • The + button creates a new one.
  • The ☰ menu at the top leads to Theme, Import/Export connections, Rate, Contact, Help (opens this website in the app's language) and Settings.
  • The first time you open the app there is already a sample connection called demo (see The sample database).
  • The free version stores up to 3 connections of your own; Pro has no limit (see Free and Pro).
Connection list with engine, address and environment label
The connection list

Create a connection

Tap + and fill in the form:

  1. Name and Engine. If you leave the port empty, the engine's usual one is used.
  2. Host / IP, Port, Database (for Oracle it is the service name, and for Redis the database number), Schema (optional), User and Password.
  3. If you prefer not to save the password, turn on Ask for the password when connecting.
  4. Environment and Read-only (see below).
  5. Tap Test connection and, if it works, Save.

SQLite, Access and dBase are local files: instead of host and port you choose or import the file (see Local files).

New connection form with the engine selector
The connection form

TLS

Use SSL/TLS encrypts the connection to the database. With Verify the server certificate on, only certificates trusted by the device or by your own certificate authority are accepted (you can paste it in the form). Off, the connection is encrypted but accepts any certificate. SAP Sybase ASE does not encrypt by itself from the phone: for that engine, use an SSH tunnel. Oracle does support TLS, also with wallets (see Oracle).

SSH tunnel

Turn on Connect through an SSH tunnel to reach a database that is only accessible from an intermediate server.

  • Password or Private key (OpenSSH, PEM or PuTTY .ppk): paste it or load a file, with its passphrase if it has one.
  • Two-step verification (code): the server will ask for a code on every connection, for example from an authenticator app. The code is never saved.
  • The first time you connect to an SSH server, DBMaster shows you its fingerprint for you to confirm; if it ever changes, it warns you clearly.

The SSH tunnel is included; it is not a paid feature.

TLS and SSH tunnel section of the form with two-step verification
TLS and SSH tunnel

Jump host

If the SSH server of your database can only be reached from another one (a bastion), turn on Go through a jump host below the SSH tunnel and fill in its details: address, port, user and password or private key, with its own two-step verification if it asks for it.

  1. DBMaster connects first to the jump host.
  2. From it, it opens the connection to the SSH server above.
  3. From that server, it reaches the database.

Each server has its own fingerprint: the first time it asks about the jump host and then about the final one, and remembers each separately (address and port). If the connection from the jump host to the next server fails, the message says which jump host it was going through.

SOCKS5 proxy

Turn on Use a SOCKS5 proxy if your network only goes out through a proxy. Enter its address, its port (1080 if you leave it empty) and, if it requires one, a user and password (saved encrypted).

If the proxy cannot be reached, rejects the user or password, or cannot reach the destination, the connection test says so with a different message for each case.

Environments and read-only

Mark each connection as Development, Staging or Production. A production connection is marked in red throughout the app and any change to data or structure asks for confirmation (“This is PRODUCTION”). To forbid changes altogether, turn on Read-only on that connection: the server will reject them even if you try.

Connection backup

In the ☰ menu → Import/Export connections you save your connections and saved queries to a file, or restore them from one. It serves as a backup or to move to another device.

Whoever gets the file will see your servers and user names: keep it somewhere safe.

Local files: SQLite, Access and dBase

These engines work with files that live in the app's private folder (nobody else can read it). In the form, instead of host and port:

SQLite can be browsed, queried and edited (editing rows and importing data is free on SQLite). Access can be browsed and queried, and rows can be edited and imported; tables and views cannot be created. dBase (.dbf) is one table per file, with no execution plan or diagram.

The sample database

The first time you open DBMaster, a SQLite connection called demo is created, with five sample tables so you can try the app without a server: proveedores, productos, facturas_prov, clientes and facturas_cli (suppliers, products, supplier invoices, customers and customer invoices). The data is made up and the tables are related by foreign keys (see it in the ER diagram).

Settings

From the ☰ menu → Settings:

The theme (system default, light or dark) is changed in the ☰ menu → Theme.

Next: Explore a database →