Create a connection
Add a local file or server connection, test it safely, and save credentials on your Mac.

Add a connection
Open the connection sheet
Press ⌘N or choose New Connection.
Choose an engine
Select SQLite, MySQL (also for MariaDB), PostgreSQL, SQL Server, or Redis. The form adapts to that engine.
Enter details
Provide a name, host, port, database, username, and credential. For SQLite, select a local database file.
Test and save
Test the connection before saving. Querly reports actionable network, authentication, and TLS failures.
Credentials
Credentials stay on your Mac, encrypted in the macOS Keychain. They are never included in exported connection files.
Environment badges
Mark a connection as Local, Staging, or Production and choose an accent color. Production connections remain visually distinct in tabs and write confirmation surfaces, and they open read-only until you unlock them. See Production lock.
Read-only mode
Enable read-only mode for accounts and databases where Querly should refuse destructive SQL. This is stronger than Safe Mode: writes are blocked rather than previewed.