mariadb k8s

  • By juju
  • Latest version (#0)
  • kubernetes
  • Stable

Description

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.


Overview

mysql for Kubernetes

Usage

You must specify key configuration attributes when deploying,
or else arbitary defaults will be used. The attributes which
should be set are:
- user
- password
- database
- root_password

eg

$ juju deploy mysql \
    --config user=fred \
    --config password=secret \
    --config database=test \
    --config root_password=admin

These values may also be in a config.yaml file, eg

$ juju deploy mysql --config config.yaml

Configuration

database
(string) The database name.
database
query-cache-size
(int) Override the computed version from dataset-size. Still works if query-cache-type is "OFF" since sessions can override the cache type setting on their own.
query-cache-type
(string) Query cache is usually a good idea, but can hurt concurrency. Valid values are "OFF", "ON", or "DEMAND". http://dev.mysql.com/doc/refman/5.1/en/server-system-variables.html#sysvar_query_cache_type
OFF
root_password
(string) The database root password.
root
mysql_port
(string) The mysql port
3306
password
(string) The database user password.
password
user
(string) The database user name.
admin