Skip to content

Creating a Connection

Zequel supports connecting to PostgreSQL, MySQL, MariaDB, SQLite, ClickHouse, MongoDB, and Redis. All connections are configured through a unified connection form.

Opening the Connection Form

You can create a new connection in two ways:

  • Click the "New Connection" button in the sidebar.
  • Click "New Connection" on the welcome screen that appears when no connections are active.

Connection Fields

The connection form includes the following fields:

FieldDescriptionRequired
NameA display name for the connection (e.g. "Production DB").Yes
TypeThe database engine: PostgreSQL, MySQL, MariaDB, SQLite, ClickHouse, MongoDB, or Redis.Yes
HostThe hostname or IP address of the database server (e.g. localhost, db.example.com).Yes (except SQLite)
PortThe port number. A default is filled in based on the selected database type.Yes (except SQLite)
UsernameThe database user to authenticate as.Depends on type
PasswordThe password for the database user.Depends on type
DatabaseThe name of the database to connect to. For SQLite, this is the file path.Depends on type
ColorAn optional color label to visually distinguish the connection in the sidebar.No

Default Ports

When you select a database type, the port field is automatically set to the standard default:

  • PostgreSQL -- 5432
  • MySQL / MariaDB -- 3306
  • ClickHouse -- 8123
  • MongoDB -- 27017
  • Redis -- 6379
  • SQLite -- not applicable (file-based)

Saving a Connection

After filling in the required fields, click "Save" to store the connection. Zequel saves your credentials securely using the operating system keychain via keytar, so passwords are never stored in plain text on disk.

Once saved, the connection appears in the sidebar and can be opened at any time by clicking on it.

Editing a Connection

To edit an existing connection, right-click it in the sidebar and select "Edit Connection". The connection form will open with the current values pre-filled. Make your changes and click "Save" to update.

Deleting a Connection

To remove a connection, right-click it in the sidebar and select "Delete Connection". You will be prompted to confirm before the connection and its stored credentials are permanently removed.

Next Steps

Released under the Elastic License 2.0.