Charmed MySQL

Canonical Publisher

Platform:

Ubuntu
26.04 22.04
Channel Revision Published Runs on
8.0/stable 444 22 Jan 2026
Ubuntu 22.04
8.0/stable 442 22 Jan 2026
Ubuntu 22.04
8.0/stable 443 22 Jan 2026
Ubuntu 22.04
8.0/candidate 510 30 Jul 2026
Ubuntu 22.04
8.0/candidate 512 30 Jul 2026
Ubuntu 22.04
8.0/candidate 511 30 Jul 2026
Ubuntu 22.04
8.0/beta 510 30 Jul 2026
Ubuntu 22.04
8.0/beta 512 30 Jul 2026
Ubuntu 22.04
8.0/beta 511 30 Jul 2026
Ubuntu 22.04
8.0/edge 515 01 Aug 2026
Ubuntu 22.04
8.0/edge 514 01 Aug 2026
Ubuntu 22.04
8.0/edge 513 01 Aug 2026
Ubuntu 22.04
8.4/edge 509 07 Jul 2026
Ubuntu 26.04
8.4/edge 508 07 Jul 2026
Ubuntu 26.04
8.4/edge 507 07 Jul 2026
Ubuntu 26.04
juju deploy mysql --channel 8.0/stable

charms.mysql.v0.architecture

Library to provide hardware architecture checks for VMs and K8s charms.

The WrongArchitectureWarningCharm class is designed to be used alongside the is-wrong-architecture helper function, as follows:

from ops import main
from charms.mysql.v0.architecture import WrongArchitectureWarningCharm, is_wrong_architecture

if __name__ == "__main__":
    if is_wrong_architecture():
        main(WrongArchitectureWarningCharm)

class WrongArchitectureWarningCharm

Description

A fake charm class that only signals a wrong architecture deploy. None

Methods

WrongArchitectureWarningCharm. __init__( self )

def is_wrong_architecture()

Description

Checks if charm was deployed on wrong architecture. None