https://github.com/aktsk/chef_mysql_multi
Creates a multiple mysql instance under the mysqld_multi management.
https://github.com/aktsk/chef_mysql_multi
Last synced: about 1 year ago
JSON representation
Creates a multiple mysql instance under the mysqld_multi management.
- Host: GitHub
- URL: https://github.com/aktsk/chef_mysql_multi
- Owner: aktsk
- Created: 2014-04-08T11:06:12.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-21T07:37:41.000Z (almost 12 years ago)
- Last Synced: 2024-03-26T17:57:10.433Z (about 2 years ago)
- Language: Ruby
- Size: 219 KB
- Stars: 0
- Watchers: 22
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
mysql_multi Cookbook
====================
Creates a multiple mysql instance under the mysqld_multi management.
Requirements
------------
#### packages
- `mysql` - mysql_multi needs mysql to create the instance.
Attributes
----------
Usage
-----
#### mysql_multi::default
```json
{
"mysql_multi": {
"password": "supersecretpassword",
"instances": [
{
"base": "mysql1",
"service": "mysqld1",
"port": "3306",
"server_id": "2"
},
{
"base": "mysql2",
"service": "mysqld2",
"port": "3307",
"server_id": "3"
}
]
}
}
```
Contributing
------------
1. Fork the repository on Github
2. Create a named feature branch (like `add_component_x`)
3. Write your change
4. Write tests for your change (if applicable)
5. Run the tests, ensuring they all pass
6. Submit a Pull Request using Github
License and Authors
-------------------
Authors: Yusuke Tanaka (Akatsuki, Inc.)
under MIT License