Resource Type: mysql_grant

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

Overview

manage MySQL databases

Properties

  • ensure (defaults to: present)

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • on (defaults to: *.*)

    where to apply privileges

  • password

    password for user

  • privileges (defaults to: ALL)

    Privileges for user

Parameters

  • cwd (defaults to: /tmp)

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

  • 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_grant` 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

  • username

    The name of the MySQL DB to manage.