Issue #9997 has been updated by Patrick Carlisle.

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
----------------------------------------
Feature #9997: puppet should support the mysql2 gem
https://projects.puppetlabs.com/issues/9997

Author: Stefan Schulte
Status: Merged - Pending Release
Priority: Normal
Assignee: Stefan Schulte
Category: stored configuration
Target version: 2.7.9
Affected Puppet version: 
Keywords: 
Branch: https://github.com/stschulte/puppet/tree/feature/2.7.x/9997


Despite the mysql gem there is also a mysql2 gem available 
([Homepage](http://rubygems.org/gems/mysql2), 
[Download](http://rubygems.org/gems/mysql2)) 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
<pre>
err: Could not connect to database: Invalid db adapter mysql2
</pre>


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en.

Reply via email to