Sha256: b92ee770b077d61e4bb4c57109fdd468c93412d55cf6d54d34da7a92cadfa186

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

h1. mysql

 "home":../index.html > "recipes":index.html >  mysql  


h2. Namespaces

* "mysql:centos":mysql-centos.html (1) 


h2. Tasks

* "mysql:install_monit":#mysql:install_monit 
* "mysql:setup":#mysql:setup 


h2. Task documentation

h3(#mysql:install_monit). mysql:install_monit

Install mysql monit hooks.

*db_port*: Mysql port. _Defaults to 3306_

*mysql_pid_path*: Path to mysql pid file. _Defaults to /var/run/mysqld/mysqld.pid_

@set :mysql_pid_path, "/var/run/mysqld/mysqld.pid"@

*monit_conf_dir*: Destination for monitrc. _Defaults to "/etc/monit"_

@set :monit_conf_dir, "/etc/monit"@



h3(#mysql:setup). mysql:setup

Create database, database user, and set grant permissions.

*db_name*: Database name (application).

*db_user*: Database user (application).
  
*db_pass*: Database password (application).

*grant_locations*: Grant locations. _Defaults to localhost_

@set :grant_locations, [ "localhost", "192.168.1.111" ]@

*grant_priv_type*: Grant privilege types. _Defaults to ALL_

@set :grant_priv_type, "ALL"@

*mysql_admin_password*: Mysql admin password (to use to connect). Defaults to password prompt.

@set :mysql_admin_password, prompt.password('Mysql admin password: '))@



Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
capitate-0.2.1 docs/recipes/mysql.txt