mysql external proxy

  • By johnsca
  • Latest version (#0)
  • trusty
  • Stable
  • Edge

Description

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.

Overview

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 mysql
relation is supported, and all of the connection information must be configured
manually.

Usage

General Usage

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

Configuration

host
(string) External MySQL hostname or IP
password
(string) Password to connect to the external MySQL host. All connected services will share this account.
user
(string) User name to connect to the external MySQL host. All connected services will share this account.
database
(string) Database name available on the external MySQL host. All connected services will share this database.