Manage databases with the command-line assistant daemon
To store information and provide access to your history database, the command-line assistant daemon (clad) uses an unencrypted SQLite database by default. You can install and connect to a different database back end, such as PostgreSQL or MySQL.
clad does not include these databases by default to avoid adding unwanted dependencies.
Change the default database in the configuration file Copy linkLink copied!
You can store and access your command-line assistant history by using the default unencrypted SQLite database.
Before you begin Copy linkLink copied!
- You have installed the command-line assistant.
Procedure Copy linkLink copied!
Connect to your database by using the stored systemd-creds passwords Copy linkLink copied!
Use the systemd-creds tool to securely store your encrypted credentials. Connect to PostgreSQL, SQLite, or MySQL by using these stored secrets.
Before you begin Copy linkLink copied!
- The command-line assistant.
- Access to the database configuration file.