Charmed MySQL
- By Canonical Data Platform
- Cloud
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 240 | 20 Jun 2024 | |
8.0/candidate | 275 | 12 Sep 2024 | |
8.0/candidate | 274 | 12 Sep 2024 | |
8.0/beta | 275 | 23 Aug 2024 | |
8.0/beta | 274 | 23 Aug 2024 | |
8.0/edge | 287 | 13 Sep 2024 | |
8.0/edge | 286 | 13 Sep 2024 |
juju deploy mysql --channel 8.0/stable
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
How to manage related applications
Hint: Use Juju 3. Otherwise replace
juju integrate
withjuju relate
for Juju 2.9.
New mysql_client
interface:
Relations to new applications are supported via the “mysql_client” interface. To create a relation:
juju integrate mysql application
To remove a relation:
juju remove-relation mysql application
Legacy mysql
interface:
We have also added support for the database legacy relation via the mysql
interface. Please note that these interface is deprecated.
juju integrate mysql:mysql wordpress
Also extended permissions can be requested using mysql-root
edpoint:
juju integrate mysql:mysql-root wordpress
Rotate applications password
To rotate the passwords of users created for related applications, the relation should be removed and related again. That process will generate a new user and password for the application.
juju remove-relation application mysql
juju integrate application mysql
Internal operator user
The operator user is used internally by the Charmed MySQL Operator, the set-password
action can be used to rotate its password.
- To set a specific password for the operator user
juju run mysql/leader set-password password=<password>
- To randomly generate a password for the operator user
juju run mysql/leader set-password