Resource Type: mysql_database

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

Overview

manage MySQL databases

Properties

  • charset (defaults to: utf8)

    database’s default charset

  • collate (defaults to: utf8_general_ci)

    database’s default collate

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent

Parameters

  • cwd (defaults to: /tmp)

    The working directory under which the mysql command should be executed.

  • database

    The name of the MySQL DB to manage.

  • instance_name

    instance name to connect to

  • mysql_path (defaults to: mysql)

    The path to mysql executable.

  • password

    password to connect

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

  • socket

    The name of the socked to use