Charmed MySQL

  • By Canonical Data Platform
  • Cloud
Channel Revision Published Runs on
8.0/stable 196 29 Sep 2023
Ubuntu 22.04
8.0/candidate 203 14 Dec 2023
Ubuntu 22.04
8.0/beta 216 18 Mar 2024
Ubuntu 22.04
8.0/edge 222 16 Apr 2024
Ubuntu 22.04
juju deploy mysql --channel 8.0/stable
Show information

Platform:

Ubuntu
22.04
  • create-backup

    Create a database backup using xtrabackup. S3 credentials are retrieved from a relation with the S3 integrator charm.

  • get-cluster-status

    Get cluster status information

  • get-password

    Fetch the system user's password, which is used by charm. It is for internal charm users and SHOULD NOT be used by applications.

    Params
    • username string

      The username, the default value 'root'. Possible values - root, serverconfig, clusteradmin.

  • list-backups

    List available backup_ids in the S3 bucket and path provided by the S3 integrator charm.

  • pre-upgrade-check

    Run necessary pre-upgrade checks and preparations before executing a charm refresh.

  • restore

    Restore a database backup using xtrabackup. S3 credentials are retrieved from a relation with the S3 integrator charm.

    Params
    • backup-id string

      A backup-id to identify the backup to restore (format = %Y-%m-%dT%H:%M:%SZ)

  • set-password

    Change the system user's password, which is used by charm. It is for internal charm users and SHOULD NOT be used by applications.

    Params
    • password string

      The password will be auto-generated if this option is not specified.

    • username string

      The username, the default value 'root'. Possible values - root, serverconfig, clusteradmin.

  • set-tls-private-key

    Set the privates key, which will be used for certificate signing requests (CSR). Run for each unit separately.

    Params
    • internal-key string

      The content of private key for internal communications with clients. Content will be auto-generated if this option is not specified.