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:
mysql2 alternatives and related gems
Based on the "Database Drivers" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of mysql2 or a related project?
mysql2 RecommendationsThere 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.
Recently added mysql2 resources
Be the first to add one!