The default password for a Bitnami database is the same as the application password that was set or generated when the Bitnami application stack was first deployed.
Understanding Bitnami Database Credentials
Bitnami stacks are designed for ease of use and security. A common practice across many Bitnami applications, especially those requiring a database like MySQL or MariaDB, is to link the database credentials directly to the primary application's administrative password. This simplifies management and ensures consistency.
- Database Username: The default database username for Bitnami applications is typically
root
. - Database Password: This password is not a fixed, universal default string (e.g., "password" or "admin"). Instead, it's dynamically set to match the password used for the main application (e.g., the WordPress admin password, the Redmine administrator password, etc.).
This approach means there isn't a single "default" password like admin
or password
that works out of the box for all Bitnami database instances. Instead, the password is tied to the specific application's initial setup.
How to Locate Your Bitnami Application Password
Since the database password is the same as the application password, finding it depends on how your Bitnami stack was deployed. Here are the most common methods:
1. For Bitnami Cloud Images (AWS, Azure, GCP, Google Cloud Platform)
When launching a Bitnami cloud image, the application password is often generated and provided to you in several ways:
- Cloud Provider Console: Check the instance details or output logs in your cloud provider's console (e.g., EC2 instance logs in AWS, VM details in Azure, VM instance details in GCP).
- SSH into the Instance:
bitnami_credentials
file: On many newer Bitnami images, you can find the credentials in a file located at/home/bitnami/bitnami_credentials
.sudo cat /home/bitnami/bitnami_credentials
bitnami_application_password
file: For some stacks, the password might be in/home/bitnami/bitnami_application_password
.sudo cat /home/bitnami/bitnami_application_password
- Application-specific configuration files: Less common for direct retrieval, but application-specific files (e.g.,
wp-config.php
for WordPress) might contain database credentials. However, this is usually for internal application use and less direct for finding the admin password.
- Bitnami Welcome Page: After launching an instance, accessing its public IP address for the first time often displays a Bitnami welcome page that provides instructions for retrieving credentials or directly shows them.
2. For Bitnami Local Installers (Windows, macOS, Linux)
If you installed a Bitnami stack on your local machine using an installer:
- During Installation: You are typically prompted to set the application's administrator password during the installation process. This is the password you would have entered.
- Bitnami Stack Manager: Some installers provide a graphical "Stack Manager" or "Control Panel" that might list or allow you to reset credentials.
- Configuration Files: The application's configuration files within the Bitnami installation directory (e.g.,
C:\Bitnami\wordpress\apps\wordpress\htdocs\wp-config.php
on Windows) will contain the database connection details.
3. For Bitnami Virtual Machines (VMware, VirtualBox)
- Login to the VM Console: Similar to cloud images, credentials may be displayed on the console upon first boot or found in common
bitnami_credentials
files. - Pre-configured: The VM images often come pre-configured, and the password might be included in the documentation provided with the VM download.
Summary of Bitnami Database Credentials
To summarize the default credentials for Bitnami databases:
Credential Type | Value |
---|---|
Database Username | root |
Database Password | The same as your Bitnami application's administrator password. |
This consistent approach helps users manage their Bitnami environments more securely and efficiently, by centralizing the primary access credentials.