> For the complete documentation index, see [llms.txt](https://docs.dashboard.devtron.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.dashboard.devtron.ai/user-guide/chart-store/examples/deploying-mysql-helm-chart.md). Agents can also search and read this documentation through its [MCP server](https://docs.dashboard.devtron.ai/~gitbook/mcp).

# Deploying MySQL Helm Chart

## Introduction

`bitnami/mysql` Helm chart bootstraps a single node MySQL deployment on a Kubernetes cluster using the Helm package manager.

## 1. Discover MySQL chart from Chart Store

Select `Charts` from the left panel to visit the `Chart Store` page. You will see numerous of charts on the page from which you have to find `bitnami/mysql` chart. You also can use the search bar to search the MySQL chart.

![](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/deploy-chart/deploying-mysql-helm-chart/mysql-chart-db.jpg)

## 2. Configure the Chart

* After selecting the `bitnami/mysql` Helm chart, click on `Configure & Deploy`.

  ![](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/deploy-chart/deploying-mysql-helm-chart/configure-deploy-mysql.jpg)
* Enter the following details, to deploy MySQL chart:

  | Key             | Description                                                           |
  | --------------- | --------------------------------------------------------------------- |
  | `App Name`      | Name of the Chart                                                     |
  | `Project`       | Select the name of your Project in which you want to deploy the chart |
  | `Environment`   | Select the environment in which you want to deploy the chart          |
  | `Chart Version` | Select the latest Chart Version                                       |
  | `Chart Value`   | Select the default value or create a custom value                     |

  ![](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/deploy-chart/deploying-mysql-helm-chart/details-mysql.jpg)

### Configure Values

#### Using GUI

Set the following parameters in the chart, to be later used to connect MySQL with your Django Application.

| Parameters                         | Description                                                       |
| ---------------------------------- | ----------------------------------------------------------------- |
| `MySQL architecture`               | Available options: Standalone or Replication                      |
| `MySQL custom username`            | Username of new user to create                                    |
| `MySQL custom password`            | Password for the new user. Ignored if existing secret is provided |
| `Primary database configuration`   | Persistent Volume Size in Gibibytes                               |
| `Secondary database configuration` | Persistent Volume Size in Gibibytes                               |

![](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/deploy-chart/deploying-mysql-helm-chart/gui-mysql.jpg)

#### Using YAML

Apart from GUI, you can directly edit the `values.yaml` file using the editor as shown below:

![](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/deploy-chart/deploying-mysql-helm-chart/yaml-mysql.jpg)

Finally, click on `Deploy Chart` to deploy the Chart.

## 3. Check the Status of Deployment

After clicking on `Deploy` you will be redirected to app details page where you can see deployment status of the chart. The Status of the chart should be `Healthy`. It might take few seconds after initiating the deployment of the chart.

![](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/deploy-chart/deploying-mysql-helm-chart/deployment-status-mysql.jpg)

In case the Status, of the deployment is `Degraded` or takes a long time to get deployed. Click on the `Status` or check the logs of the pods to debug the issue.

## 4. Extract the Service Name

Copy the service name, it will be used to connect your application to MySQL.

![](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/deploy-chart/deploying-mysql-helm-chart/mysql-service-db.jpg)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.dashboard.devtron.ai/user-guide/chart-store/examples/deploying-mysql-helm-chart.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
