Charmed MySQL
- By Canonical Data Platform
- Cloud
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 196 | 29 Sep 2023 | |
8.0/candidate | 196 | 27 Sep 2023 | |
8.0/beta | 196 | 25 Sep 2023 | |
8.0/edge | 196 | 08 Sep 2023 |
juju deploy mysql --channel 8.0/stable
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
22.04
Deploy Charmed MySQL
Please follow the Tutorial to deploy the charm on LXD.
Short story for your Ubuntu 22.04 LTS:
sudo snap install multipass
multipass launch --cpus 4 --memory 8G --disk 30G --name my-vm charm-dev # tune CPU/RAM/HDD accordingly to your needs
multipass shell my-vm
juju add-model mysql
juju deploy mysql --channel 8.0/stable # --config profile=testing
juju status --watch 1s
The expected result:
Model Controller Cloud/Region Version SLA Timestamp
mysql overlord localhost/localhost 3.1.6 unsupported 00:52:59+02:00
App Version Status Scale Charm Channel Rev Exposed Message
mysql 8.0.32-0ubun... active 1 mysql 8.0/stable 151 no Primary
Unit Workload Agent Machine Public address Ports Message
mysql/0* active idle 1 10.234.188.135 3306,33060/tcp Primary
Machine State Address Inst id Base AZ Message
1 started 10.234.188.135 juju-ff9064-0 ubuntu@22.04 Running
Check the Testing reference to test your deployment.
Help us improve this documentation
Most of this documentation can be collaboratively discussed and changed on the respective topic in the doc category of the Charmhub forum. See the documentation guidelines if you’d like to contribute.