Mysql Router

  • By MySQL Charm Maintainers
  • Cloud
Channel Revision Published Runs on
latest/edge 188 09 May 2024
Ubuntu 22.04 Ubuntu 20.04
8.0/stable 189 13 May 2024
Ubuntu 22.04 Ubuntu 20.04
dpe/candidate 186 06 May 2024
Ubuntu 22.04
dpe/beta 186 02 May 2024
Ubuntu 22.04
dpe/edge 186 02 May 2024
Ubuntu 22.04
8.0.19/stable 26 05 May 2022
Ubuntu 22.04 Ubuntu 20.04
8.0.19/edge 26 05 May 2022
Ubuntu 22.04 Ubuntu 20.04
juju deploy mysql-router --channel dpe/candidate
Show information

Platform:

Ubuntu
22.04

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 integrate mysql-router application

To remove a relation:

juju remove-relation mysql-router application

All listed on CharmHub applications are available here, e.g. mysql-test-app.

Legacy mysql-shared interface:

This charm also supports the legacy relation via the mysql interface. Please note that these interface is deprecated.

juju relate mysql-router:shared-db myapplication

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-router mysql

juju integrate mysql-router mysql

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