Save and open connections
Save each database once, with its password, and open it with a click. Several can be open at the same time.
On this page

The fields
| Field | What to write |
|---|---|
| Name | What you call it |
| Kind | PostgreSQL, MySQL or MariaDB, SQL Server or SQLite |
| Server and Port | The address. Without a port, the usual one of its kind: 5432, 3306 or 1433 |
| User and Password | Those of the database. In SQL Server, a login of SQL Server, not one of Windows |
| Database | Empty opens the default one of the user |
| Database file | Only for SQLite |
| Encryption and SSH | Protect a connection |
| Changes and Environment | Choose how careful it is |
| Group | Connections with the same group show together |
Try it connects without saving. Save keeps the connection, and Save and open also opens it.
In SQLite, if there is no file at that path, TotalSQL says There is no file there when you open the connection. Press Make a new database to have an empty one, or correct the path.
The passwords
They are kept in the secure store of your system, called the keychain in the app. When you edit a connection, an empty Password keeps the one that is there.
Without the mark in Keep the passwords in the keychain of the system, so it does not ask again, nothing is kept and TotalSQL asks each time.
Find them
With five connections or more, the list has the field Find a connection. It looks in the name, the server, the database, the file, the group and the kind. Press the name of a group to fold it.
With the right button, a connection has Open, Edit…, Copy the address and Delete…
Deleting a connection also deletes its history and its passwords. Its saved queries stay for every connection, unless you turn off Keep its saved queries, for every connection. The database is not touched.
Work with several at once
Each open connection has its place in the strip above the list, with its own tabs, results and changes. Press one to go to it. The first button of the strip goes back to the list, to open another.
To close one, press the cross next to the name of the database. After you edit a connection that is open, close it and open it again.
Change of database
When the server has several databases, choose another in the list above the tables.
Choosing another database closes the tabs of the one that you leave. If something in them is not saved, TotalSQL says what it is and asks first.
When the connection is lost
TotalSQL does not connect again by itself. If it says The connection to the server was lost, close the connection and open it again. Copy first the text of your queries.