This charm provides access to a MySQL server running outside
of the Juju environment. It is far more limited than the full
MySQL charm, and must be configured manually.
- databases ›
MySQL is a fast, stable and true multi-user,
multi-threaded SQL database server. SQL (Structured Query Language) is the most
popular database query language in the world. The main goals of MySQL are speed,
robustness and ease of use.
This proxy charm allows Juju services to access a MySQL server outside of the Juju
environment. However, because the server is external, only the standard
relation is supported, and all of the connection information must be configured
You must deploy the charm and then set all of the connection info manually:
juju deploy mysql-external-proxy juju set mysql-external-proxy host=my.host.addr database=db_name user=username password=password
Other Juju services can then be related to the proxy charm, as normal:
juju add-relation my-service mysql-external-proxy
MySQL Server Contact Information
- (string) Database name available on the external MySQL host. All connected services will share this database.
- (string) External MySQL hostname or IP
- (string) Password to connect to the external MySQL host. All connected services will share this account.
- (string) User name to connect to the external MySQL host. All connected services will share this account.