A database clientProLesson 15 of 45, about 7 min
- 1
- 2
- 3
- 4
- 5
- 6
- 7
The app: Ledger, a database client
Ledgersaved connectionNot connected
Quill, production
Hostdb.quill.example
Port5432
Databasequill
User
Password•••••••• saved in Ledger
postgres owns the database: it can change or delete any row.
The SQL Ledger sends, and who it’s connected as
Connection not connectedpostgres
Not connected yet. Ledger will connect with:
postgres://postgres:@db.quill.example:5432/quill
The owner: can change or delete anything, every row at once.
SQL nothing sent yet
Ledger sends SQL once it’s connected. Every click becomes a query.
The MagisterLeft: Ledger, a database client. It talks straight to Quill’s production database, with no app in between. The saved connection uses postgres, the owner, who can change anything. Switch the user to quill_readonly, then press Connect.
Step 1 of 7Connect as the read-only user
- Connected as
quill_readonly
You’re not signed in, so this lesson won’t be saved to your path. Sign in free to keep your XP.