Charmed MySQL

  • By Canonical Data Platform
  • Cloud
Channel Revision Published Runs on
8.0/stable 240 20 Jun 2024
Ubuntu 22.04
8.0/candidate 240 17 Jun 2024
Ubuntu 22.04
8.0/beta 240 17 Jun 2024
Ubuntu 22.04
8.0/edge 255 17 Jul 2024
Ubuntu 22.04
8.0/edge 254 17 Jul 2024
Ubuntu 22.04
juju deploy mysql --channel 8.0/stable
Show information



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  3306,33060/tcp  Primary

Machine  State    Address         Inst id        Base          AZ  Message
1        started  juju-ff9064-0  ubuntu@22.04      Running

Check the Testing reference to test your deployment.

Help improve this document in the forum (guidelines). Last updated 10 months ago.