Please don't work with databag directly. only via charms.data_platform_libs.v0.data_interfaces lib.
It will allow us to refactor data_interfaces lib in the future (e.g. use secrets).
Please add functionality into data_interfaces if needed (e.g. hostname and version into DatabaseRequires init).
_Originally posted by @delgod in https://github.com/canonical/mysql-router-k8s-operator/pull/51#discussion_r1190990133_