Resource Type: mysql_database

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

Summary

Manage a MySQL database.

Overview

Properties

  • charset (defaults to: utf8)

    The CHARACTER SET setting for the database

    Supported values:
    • %r{^\S+$}
  • collate (defaults to: utf8_general_ci)

    The COLLATE setting for the database

    Supported values:
    • %r{^\S+$}
  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • name (namevar)

    The name of the MySQL database to manage.

  • 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.