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 444 08 Jan 2026
Ubuntu 22.04
8.0/candidate 442 08 Jan 2026
Ubuntu 22.04
8.0/candidate 443 08 Jan 2026
Ubuntu 22.04
8.0/beta 493 15 Apr 2026
Ubuntu 22.04
8.0/beta 494 15 Apr 2026
Ubuntu 22.04
8.0/beta 492 15 Apr 2026
Ubuntu 22.04
8.0/edge 506 18 Jun 2026
Ubuntu 22.04
8.0/edge 505 18 Jun 2026
Ubuntu 22.04
8.0/edge 504 18 Jun 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