Skip to content

mariadb job from shield/6.6.5

Github source: dda516d8 or master branch

Properties

databases

databases

A list of databases to provision. Each entry in the list must be a map with the ‘name’ key set, i.e.: databases: databases: - name: shielddb

port

MySQL port to bind.

Default
3306

roles

A list of database users (roles) to create. All users created will have full access to all databases. Each entry in the list must be a map with ‘name’ and ‘password’ keys, a la: databases: roles: - name: shieldadmin password: its-a-secret

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/mariadb/ directory (learn more).

  • bin/mariadb_ctl (from bin/mariadb_ctl)
  • bin/mariadb_start.sh (from bin/mariadb_start.sh)
  • config/my.cnf (from config/my.cnf)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.