Popularity
7.6
Growing
Activity
8.4
-
1,691
70
373

Description

Travis CI Appveyor CI

The Mysql2 gem is meant to serve the extremely common use-case of connecting, querying and iterating on results. Some database libraries out there serve as direct 1:1 mappings of the already complex C APIs available. This one is not.

It also forces the use of UTF-8 [or binary] for the connection [and all strings in 1.9, unless Encoding.default_internal is set then it'll convert from UTF-8 to that encoding] and uses encoding-aware MySQL API calls where it can.

The API consists of three classes:

Code Quality Rank: L5
Monthly Downloads: 934,997
Programming language: Ruby
License: MIT License

Recently added mysql2 resources

Do you know of a usefull tutorial, book or news relevant to mysql2?
Be the first to add one!

mysql2 Recommendations

There are no recommendations yet. Be the first to promote mysql2!

Have you used mysql2? Share your experience. Write a short recommendation and mysql2, you and your project will be promoted on Awesome Ruby.
Recommend mysql2

mysql2 alternatives and related gems

Based on the "Database Drivers" category

Do you think we are missing an alternative of mysql2 or a related project?

Add another 'Database Drivers' Gem

Popular Comparisons