|8.0/stable||196||29 Sep 2023|
|8.0/candidate||196||27 Sep 2023|
|8.0/beta||196||25 Sep 2023|
|8.0/edge||203||01 Dec 2023|
juju deploy mysql --channel 8.0/stable
How to integrate DB with my charm
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.
- Q: Does the requirer need to set anything in relation data?
A: it depends on the interface. Check the
- 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.
Contact us if you have any questions, issues and/or ideas!