When you create a database, mkdb generates a connection string in environment variable format and prints it immediately after creation. The string is ready to paste directly into aDocumentation Index
Fetch the complete documentation index at: https://test.pzona.fun/llms.txt
Use this file to discover all available pages before exploring further.
.env file or use in a shell script. You can also retrieve it at any time using the mkdb creds commands.
Connection string formats
- PostgreSQL
- MySQL
- Redis
With authentication:Without authentication (
--no-auth):Retrieving your connection string
Print the connection string for a container to your terminal:.env file:
Password details
When you create a database with authentication enabled, mkdb generates a random 12-character alphanumeric password. The password is displayed once at creation time and stored encrypted on disk using AES-256-GCM. You can always retrieve it later withmkdb creds get.
Rotating credentials
Generate a new password for an existing container and update it in the database:Containers created with
--no-auth do not have a password. Running mkdb creds rotate on an unauthenticated container will return an error. You cannot add authentication to a container after creation.