Feature #9997
puppet should support the mysql2 gem
| Status: | Closed | Start date: | 10/09/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 0% |
||
| Category: | stored configuration | |||
| Target version: | 2.7.10 | |||
| Affected Puppet version: | Branch: | https://github.com/stschulte/puppet/tree/feature/2.7.x/9997 | ||
| Keywords: | ||||
| Votes: | 0 |
Description
Despite the mysql gem there is also a mysql2 gem available (Homepage, Download) and if I read the description correctly it is now part of ActiveRecord 3.1.
To use it you have to set dbadapter to mysql2. Unfortunately puppet does reject this setting
err: Could not connect to database: Invalid db adapter mysql2
History
Updated by Stefan Schulte 7 months ago
- Status changed from Unreviewed to In Topic Branch Pending Review
- Branch set to https://github.com/stschulte/puppet/tree/feature/2.7.x/9997
pull request: 162
Updated by Patrick Carlisle 6 months ago
- Status changed from In Topic Branch Pending Review to Merged - Pending Release
- Target version set to 2.7.9
Merged in commit:7328d8079a4e76988c26e294149bf680f0de7ebd
(#9997) Add mysql2 gem support
Besides the mysql gem there is a mysql2 gem that is a "modern, simple
and very fast Mysql library for Ruby" [1]. It can either be installed as a
seperate gem (v0.2.x) for ActiveRecord < 3.1 or can be used as part of
ActiveRecord 3.1
To use mysql2 the dbadapter setting must be set to "mysql2" and this patch
adds support for this setting.
[1] https://github.com/brianmario/mysql2#readme
Updated by James Turnbull 6 months ago
This also have some Docs implications that Nick should consider too. Adding him as a watcher.
Updated by Michael Stahnke 4 months ago
- Status changed from Merged - Pending Release to Closed
- Target version changed from 2.7.9 to 2.7.10
released in 2.7.10rc1