The Database Manager provides a full-featured interface for managing your MySQL, MariaDB, and PostgreSQL databases without needing command-line tools or external applications.
Database Servers
The Databases page lists configured database servers. Each server shows:
- Name — Server identifier
- Type — MySQL, MariaDB, or PostgreSQL
- Host — Container name or external host
- Status — Connection status
Testing Connection
Click "Test Connection" to verify the database server is accessible. This checks:
- Network connectivity
- Authentication credentials
- Database server is running
Opening the Database Manager
Click on a database server to open the Database Manager. This provides a comprehensive interface with several sections:
Databases Panel
Left sidebar showing all databases on the server:
- Click a database to select it
- System databases are marked (information_schema, mysql, etc.)
- "New Database" button to create databases
Tables Panel
When a database is selected, shows all tables:
- Click a table to view its data
- Shows row count (estimated)
- Shows table size
Data Viewer
When a table is selected, displays its contents:
- Columns — Sortable table columns
- Pagination — Navigate large datasets
- Page Size — Rows per page
- Refresh — Reload data
Query Editor
Write and execute custom SQL queries:
- Syntax highlighting
- Execute button or Ctrl+Enter
- Results displayed in table format
- Error messages for failed queries
Database Operations
Create Database
- Click "New Database" in the databases panel
- Enter the database name
- Select character set (optional)
- Click "Create"
Delete Database
- Right-click on a database (or use the menu)
- Select "Delete"
- Confirm the deletion
User Management
Manage database users and permissions:
View Users
Navigate to the Users tab to see all database users:
- Username and host
- Authentication method
- Granted privileges
Create User
- Click "New User"
- Enter username
- Enter password
- Set host (% for any host, localhost for local only)
- Click "Create"
Grant Privileges
- Select a user
- Click "Grant Privileges"
- Select the database
- Choose privileges (ALL, SELECT, INSERT, etc.)
- Click "Grant"
Common Tasks
Creating a Database for a New App
- Open the Database Manager
- Create a new database (e.g., "myapp_production")
- Create a new user (e.g., "myapp_user")
- Grant ALL privileges on the database to the user
- Use the credentials in your application's config
Querying Data
- Select the database
- Open the Query Editor tab
- Write your SQL query
- Press Ctrl+Enter or click Execute
- View results in the table below
-- Example queries
SELECT * FROM users WHERE created_at > '2024-01-01';
SELECT COUNT(*) as total, status
FROM orders
GROUP BY status;
SELECT u.name, COUNT(o.id) as order_count
FROM users u
LEFT JOIN orders o ON u.id = o.user_id
GROUP BY u.id; Exporting Data
Use the Query Editor to export data:
- Write a SELECT query for the data you want
- Execute the query
- Click "Export" above the results
- Choose format (CSV, JSON)
Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Ctrl+Enter | Execute query |
Ctrl+/ | Comment/uncomment line |
Ctrl+S | Save query (to local storage) |