How to manage related applications
Modern mysql_client
interface:
Relations to new applications are supported via the “mysql_client” interface. To create a relation:
juju relate mysql-router-k8s application
To remove a relation:
juju remove-relation mysql-router-k8s application
All listed on CharmHub applications are available here, e.g.:
Legacy mysql
interface:
This charm does NOT support legacy mysql
interface.
Internal operator user
To rotate the internal router passwords, the relation with backend-database should be removed and related again. That process will generate a new user and password for the application, while retaining the requested database and data.
juju remove-relation mysql-k8s mysql-router-k8s
juju integrate mysql-k8s mysql-router-k8s