Charmed MySQL
- Canonical
- Cloud
Channel | Revision | Published | Runs on |
---|---|---|---|
8.0/stable | 240 | 20 Jun 2024 | |
8.0/candidate | 297 | 15 Oct 2024 | |
8.0/candidate | 296 | 15 Oct 2024 | |
8.0/beta | 297 | 07 Oct 2024 | |
8.0/beta | 296 | 07 Oct 2024 | |
8.0/edge | 303 | 09 Oct 2024 | |
8.0/edge | 302 | 09 Oct 2024 |
juju deploy mysql --channel 8.0/edge
Deploy universal operators easily with Juju, the Universal Operator Lifecycle Manager.
Platform:
22.04
How to integrate DB with my charm
Please check the supported interfaces of the current charm first. You have options to use modern (preferred) or legacy interfaces. Make sure you are familiar with Juju integration concepts.
The most existing charms currently use ops-lib-mysql interface (legacy). Canonical recommends for new charms to use data-platform-libs instead. You can take a look at mysql-test-app for more practical examples. Consider to read the great manual about the charm development. The legacy charm details are well described here.
FAQ:
- Q: Does the requirer need to set anything in relation data?
A: it depends on the interface. Check themysql_client
interface requirements. - Q: Is there a charm library available, or does my charm need to compile the mysql relation data on its own?
A: Yes, the library is available: data-platform-libs. - Q: How do I obtain the database url/uri?
A: it is planned, but currently missing. Meanwhile use PostgreSQL as an example.
Troubleshooting:
- Please start with Juju troubleshooting guide.
- Check Charmed MySQL K8s troubleshooting hints.
Contact us if you have any questions, issues and/or ideas!