Configure a Database Credential
Add your connection details and your Namirasoft applications can connect to your database.
The steps below show you how to get and enter each one.
Step 1: Create the Credential
- Open the Namirasoft Credential Console and go to Database.
- Click Create to start a new credential.
Step 2: Enter the Name and Type
- Enter a Name you will recognize.
- The Type is your database engine.
- Select MySQL, Postgres, Mongo, Elasticsearch, or Clickhouse in the Type list.
Step 3: Enter the Connection Details
- Where to find these depends on your chosen engine.
- The Host and Port are where your database runs. Enter them in their fields. How do I find my host and port?
- The Database Name is the database you connect to. Enter it in its field. How do I find my database name?
- The Username and Password are the login. Enter them in their fields. How do I find my username and password?
- Or skip those and paste a single Connection String in its field. How do I find my connection string?
Step 4: Enable SSL (Optional)
- On the SSL tab, turn on SSL Enable.
- Add the SSL CA, SSL Cert, and SSL Key in their fields. How do I get my SSL certificates?
Step 5: Add a Description and Save
- Optionally note what the credential is for in the Description field.
- Click Apply to save.
Database FAQs
Answers to common questions about setting up database credentials.
1. Can one credential connect to more than one database?
Each credential targets a single database through its Database Name. You create a separate credential for each one, even on the same server.
2. What happens if my database password changes?
Your authorized applications read the password from this one credential each time they connect, so you update it in one place and they all use the new password automatically.
3. Do I enter separate parameters or one connection string?
You enter the Host, Port, Username, and Password separately, or you paste a single Connection String.