This guide will walk you through installing dbfordevs and connecting to your first database.
- Visit the dbfordevs releases page
- Download the installer for your operating system:
- Windows:
.msiinstaller - macOS:
.dmgor.app.tar.gz - Linux:
.AppImageor distribution-specific package
- Windows:
- Run the installer and follow the prompts
- Launch dbfordevs from your applications menu
After launching dbfordevs for the first time:
- You should see the main window with a sidebar on the left
- The sidebar shows "No connections" initially
- The main area displays a welcome message
Click the "New Connection" button in the sidebar (or use Ctrl+K / Cmd+K).
Choose your database system from the dropdown:
- PostgreSQL
- MySQL / MariaDB
- SQLite
- Microsoft SQL Server (MSSQL)
- Oracle
- MongoDB
- Redis
- CockroachDB
- Cassandra
Fill in the required fields based on your database type:
Host: localhost
Port: 5432
Username: postgres
Password: your_password
Database: your_database
Host: localhost
Port: 3306
Username: root
Password: your_password
Database: your_database
File Path: /path/to/your/database.db
Host: localhost
Port: 1433
Username: sa
Password: your_password
Database: your_database
Connection String: //localhost:1521/ORCL
Username: system
Password: your_password
Connection String: mongodb://localhost:27017/your_database
Username: (optional)
Password: (optional)
Host: localhost
Port: 6379
Password: (optional)
Contact Points: localhost
Port: 9042
Keyspace: your_keyspace (optional)
Click "Test Connection" to verify your details are correct. You should see a success message if the connection works.
Enter a name for your connection (e.g., "Production DB", "Local Dev") and click "Save".
Your connection now appears in the sidebar and is available for use.
Click on your saved connection in the sidebar to open the query editor.
Click in the editor area and type a simple SQL query:
SELECT * FROM information_schema.tables LIMIT 10;Press Ctrl+Enter (Windows/Linux) or Cmd+Enter (macOS) to execute the query.
Alternatively, click the "Execute" button in the toolbar.
Results appear in the data grid below the editor showing:
- Column headers
- Data rows
- Row count and execution time
- Sortable columns
Click any connection in the sidebar to switch to it. The query editor updates to use the selected connection.
Right-click a connection and select "Edit" to modify connection properties.
Right-click a connection and select "Delete" to remove it. You'll be prompted to confirm.
Right-click a connection and select "Duplicate" to quickly create a copy with the same settings.
Right-click a connection and select "Rename" to change its display name.
- Scroll: Navigate through rows vertically and columns horizontally
- Sort: Click column headers to sort ascending/descending
- Pagination: Use page controls at the bottom to navigate large result sets
- Row Count: See total rows and current page range
- Click row numbers to select entire rows
- Use
Ctrl/Cmd+Ato select all visible rows - Copy selected data with
Ctrl/Cmd+C
Selected data in the grid can be copied and pasted into spreadsheet applications or text editors.
- Right-click the database name in the sidebar
- Select "Create Table"
- Enter table name and column definitions
- Click "Create"
- Right-click inside the data grid
- Select "Insert Row"
- Fill in values for new row
- Click "Save"
- Double-click a cell in the grid to edit
- Or right-click a row and select "Edit Row"
- Modify values in the side panel
- Click "Save" to apply changes
- Select one or more rows in the grid
- Right-click and select "Delete Rows"
- Confirm the deletion
- Click a table in the sidebar
- Select "Properties" to see:
- Column names and types
- Indexes
- Constraints
- Foreign keys
- Click a table in the sidebar
- Select "Diagram" to see:
- Related tables
- Foreign key relationships
- Table structure
Click the Settings icon (gear icon) to access:
- Theme: Choose from Light, Dark, Classic Light, Classic Dark, Nordic Light, Nordic Dark, Solarized Light, Solarized Dark, or System (auto)
- Appearance Mode: Developer or Web view
- Font Size: Adjust editor and grid font sizes
- Keyboard Shortcuts: View available shortcuts
dbfordevs can auto-detect database type and parse connection details from common connection string formats. Paste a connection string into the New Connection dialog to auto-fill the fields.
Click the "+" button next to open query tabs to create a new query.
Click any tab to switch to that query.
- Close Tab: Click the "X" on the tab
- Tab Name: Double-click to rename a tab
- Right-click for more options
| Shortcut | Action |
|---|---|
Ctrl/Cmd + K |
New connection |
Ctrl/Cmd + T |
New query tab |
Ctrl/Cmd + Enter |
Execute query |
Ctrl/Cmd + , |
Open settings |
Ctrl/Cmd + / |
Toggle comment |
Alt + Up/Down |
Navigate results |
Ctrl/Cmd + A |
Select all (grid) |
Ctrl/Cmd + C |
Copy selection |
Esc |
Close dialogs |
Problem: "Cannot connect to database"
Solutions:
- Verify host and port are correct
- Check username and password
- Ensure database service is running
- Check firewall/network rules
- Verify you can connect from command line (
psql,mysql, etc.)
Problem: "Syntax error in query"
Solutions:
- Check SQL syntax with your database documentation
- Verify table and column names exist
- Try executing query in native database client
- Check for unsupported SQL features in your database version
Problem: "Grid is slow with large result sets"
Solutions:
- Use
LIMITclause to reduce result size - Add
WHEREconditions to filter data - Increase pagination size in settings
- Ensure database query is optimized
Problem: "Lost connection after inactivity"
Solutions:
- Check database server timeout settings
- Reconnect from sidebar
- Review network stability
- Check for VPN/network issues
- Explore Features: Check out the Features Guide for advanced capabilities
- Learn Shortcuts: Use keyboard shortcuts to work faster
- Customize Theme: Personalize the appearance in Settings
- Check the User Guide for detailed documentation
- Review the Features Guide for specific feature help
- Search GitHub issues for common problems
- Report bugs with detailed reproduction steps
Happy querying! 🎉