Your First Connection
Open Zequel
Launch Zequel from your applications folder. You’ll see the welcome screen with options to create a new connection.
Create a new connection
Click New Connection or press
Cmd+N (macOS) / Ctrl+N (Windows/Linux).The connection dialog will appear with options for all supported database types.Select your database type
Choose your database from the available options:
- PostgreSQL - Port 5432 (default)
- MySQL - Port 3306 (default)
- MariaDB - Port 3306 (default)
- SQLite - Local file-based database
- DuckDB - Local file-based analytics database
- MongoDB - Port 27017 (default)
- Redis - Port 6379 (default)
- ClickHouse - Port 8123 (default)
- SQL Server - Port 1433 (default)
Enter connection details
Fill in the connection information based on your database type:
For Server-Based Databases (PostgreSQL, MySQL, etc.)
- Name: A friendly name for this connection (e.g., “Production DB”)
- Host: The server hostname or IP address
- Port: The database port (pre-filled with defaults)
- Database: The database name to connect to
- Username: Your database username
- Password: Your database password
For File-Based Databases (SQLite, DuckDB)
- Name: A friendly name for this connection
- File Path: Click Browse to select your database file, or enter a path to create a new database
For SQLite and DuckDB, if the file doesn’t exist, Zequel will create a new database at the specified path.
Configure advanced options (optional)
Expand the Advanced section to configure:
SSL/TLS Connection
- Enable Use SSL/TLS for encrypted connections
- Choose SSL mode:
disable,prefer,require,verify-ca, orverify-full - Upload SSL certificates if required
SSH Tunnel
- Enable Use SSH Tunnel to connect through a bastion/jump host
- Enter SSH host, port, and username
- Choose authentication: Password or Private Key
- Provide credentials or upload your private key file
Connection Metadata
- Environment: Tag as
production,staging,development,testing, orlocal - Color: Assign a color for quick visual identification
- Folder: Organize connections into folders
Test and save
Click Test Connection to verify your settings.If the test succeeds, click Save to store the connection. If it fails, check the error message and verify your credentials and network settings.
Quick Connection Examples
Local SQLite Database
Create or open a file
- To create a new database: Enter
/Users/yourname/my-database.db(macOS/Linux) orC:\Users\yourname\my-database.db(Windows) - To open an existing database: Click Browse and select your
.dbfile
Local PostgreSQL
Enter local connection details
- Host:
localhostor127.0.0.1 - Port:
5432 - Database:
postgres(or your database name) - Username:
postgres(or your username) - Password: Your PostgreSQL password
Remote MySQL with SSH Tunnel
Enter database details
- Host:
localhost(the host as seen from the SSH server) - Port:
3306 - Database: Your database name
- Username: Your MySQL username
- Password: Your MySQL password
Configure SSH tunnel
In the Advanced section, enable Use SSH Tunnel:
- SSH Host: Your bastion/jump server hostname or IP
- SSH Port:
22 - SSH Username: Your SSH username
- Auth Method: Choose Password or Private Key
- Provide your SSH credentials
Exploring Your Database
Once connected, you can start exploring:Schema Browser
The left sidebar shows your database structure:- Databases: Expand to see all databases on the server
- Tables: Click a table to view its structure and data
- Views: Browse database views
- Routines: View stored procedures and functions
- Triggers: See database triggers
- Sequences: Browse sequences (PostgreSQL)
- Extensions: View installed extensions (PostgreSQL)
Use
Cmd+L (macOS) or Ctrl+L (Windows/Linux) to quickly focus the schema search box and find tables, views, or other objects.Viewing Table Data
Browse the data grid
The main panel shows the table data with:
- Virtual scrolling for large datasets
- Column sorting (click column headers)
- Column filtering (click filter icon)
- Column resize and reorder (drag column headers)
Edit data in-cell
Double-click any cell to edit its value. Changes are tracked and shown in the status bar.
Running Your First Query
Write your SQL query
Type your query in the Monaco editor. You’ll get:
- Syntax highlighting
- Auto-completion for table and column names
- SQL keyword suggestions
Execute the query
Press
Cmd+Enter (macOS) / Ctrl+Enter (Windows/Linux) to run the entire query, or Cmd+Shift+Enter to run only the selected text.Using SQL Snippets
Zequel includes 30+ pre-built SQL snippets for each database dialect:Access snippets
Start typing
select, insert, create, or other SQL keywords and press Ctrl+Space to see snippet suggestionsCommand Palette
Access all Zequel features quickly with the command palette:Search for actions
Type to filter available commands:
- Open tables, views, or other schema objects
- Navigate to different sections
- Execute common operations
Keyboard Shortcuts
Master these essential shortcuts for efficient workflow:Tabs
Cmd+T/Ctrl+T- New query tabCmd+W/Ctrl+W- Close current tabCmd+1-9- Switch to tab 1-9Cmd+]/Ctrl+Tab- Next tabCmd+[/Ctrl+Shift+Tab- Previous tab
Query Editor
Cmd+Enter/Ctrl+Enter- Execute queryCmd+Shift+Enter- Execute selectionCmd+Shift+F/Ctrl+Shift+F- Format SQLCmd+S/Ctrl+S- Commit changes
Navigation
Cmd+L/Ctrl+L- Focus sidebar searchCmd+K/Ctrl+K- Open command paletteCmd+R/Ctrl+R- Refresh data
Press
Cmd+Shift+? (macOS) / Ctrl+Shift+? (Windows/Linux) or F1 to see all keyboard shortcuts.Next Steps
Interface Overview
Learn about all UI components and features
Working with Tables
Master data grid features and table operations
Query Editor
Advanced query editor features and tips
Import & Export
Import and export data in multiple formats