Charmed MySQL
- Canonical
- Cloud
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 313 | 03 Dec 2024 | |
8.0/stable | 312 | 03 Dec 2024 | |
8.0/candidate | 313 | 02 Dec 2024 | |
8.0/candidate | 312 | 02 Dec 2024 | |
8.0/beta | 313 | 02 Dec 2024 | |
8.0/beta | 312 | 02 Dec 2024 | |
8.0/edge | 325 | 19 Dec 2024 | |
8.0/edge | 324 | 19 Dec 2024 |
juju deploy mysql --channel 8.0/stable
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
22.04
Deploy on LXD
This guide assumes you have a running Juju and LXD environment.
For a detailed walkthrough of setting up an environment and deploying the charm on LXD, refer to the Tutorial.
Bootstrap a juju controller and create a model if you haven’t already:
juju bootstrap localhost <controller name>
juju add-model <model name>
Deploy MySQL
juju deploy mysql --channel 8.0/stable
See the
juju deploy
documentation for all available options at deploy time.See the Configurations tab for specific MySQL parameters.
Sample output of juju status --watch 1s
:
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