How to deploy MySQL¶
The basic requirements for deploying a charm are the Juju client and a cloud .
If you are not sure where to start, or would like a more guided walkthrough for setting up your environment, see the Tutorial.
Quickstart¶
Charmed MySQL can be deployed using the Juju CLI directly, or via Terraform.
To deploy via the Juju CLI, you need to first bootstrap a cloud controller and create a model:
juju bootstrap <cloud name> <controller name>
juju add-model <model name>
Then, use the juju deploy command:
juju deploy mysql --channel 8.0/stable
juju deploy mysql-k8s --channel 8.0/stable --trust
To deploy via Terraform, see the Terraform guide.
Clouds¶
Charmed MySQL can be deployed on several machine and Kubernetes cloud services.