Resource Type: mysql_database

Defined in:
lib/puppet/type/mysql_database.rb
Providers:
mysql

Overview

Manage a database.

Properties

  • charset (defaults to: utf8)

    The characterset to use for a database

    Supported values:
    • /^\S+$/
  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • mgmt_cnf

    The my.cnf to use for calls.

  • name (namevar)

    The name of the database.

  • provider

    The specific backend to use for this ‘mysql_database` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.