Need advice about which tool to choose?Ask the StackShare community!

mysql

14
2
+ 1
0
mysql2

120
2
+ 1
0
Add tool

mysql2 vs mysql: What are the differences?

mysql2: A simple, fast Mysql library for Ruby, binding to libmysql. A simple, fast Mysql library for Ruby, binding to libmysql; mysql: This is the MySQL API module for Ruby. This is the MySQL API module for Ruby. It provides the same functions for Ruby programs that the MySQL C API provides for C programs. This package is offered as gem for easy installation using RubyGems. It wraps unmodified tmtm's mysql-ruby extension into a proper gem. Please note that tmtm (Tomita Mashahiro) has deprecated development of this extension and only update it for bug fixes.

mysql2 and mysql belong to "RubyGems Packages" category of the tech stack.

mysql2 and mysql are both open source tools. It seems that mysql2 with 2.07K GitHub stars and 485 forks on GitHub has more adoption than mysql with 52 GitHub stars and 19 GitHub forks.

According to the StackShare community, mysql2 has a broader approval, being mentioned in 32 company stacks & 10 developers stacks; compared to mysql, which is listed in 3 company stacks and 4 developer stacks.

mysql Stats
  • Dependent Packages Counts - 236
mysql2 Stats
  • Dependent Packages Counts - 1.2K
mysql Release info
Latest version
2.9.1
Other
mysql2 Release info
Latest version
0.5.6
MIT

What is mysql?

This is the MySQL API module for Ruby. It provides the same functions for Ruby programs that the MySQL C API provides for C programs. This package is offered as gem for easy installation using RubyGems. It wraps unmodified tmtm's mysql-ruby extension into a proper gem. Please note that tmtm (Tomita Mashahiro) has deprecated development of this extension and only update it for bug fixes.

What is mysql2?

A simple, fast Mysql library for Ruby, binding to libmysql.

Need advice about which tool to choose?Ask the StackShare community!

What companies use mysql?
What companies use mysql2?
See which teams inside your own company are using mysql or mysql2.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What are some alternatives to mysql and mysql2?
rake
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are specified in standard Ruby syntax. Rake has the following features: * Rakefiles (rake's version of Makefiles) are completely defined in standard Ruby syntax. No XML files to edit. No quirky Makefile syntax to worry about (is that a tab or a space?) * Users can specify tasks with prerequisites. * Rake supports rule patterns to synthesize implicit tasks. * Flexible FileLists that act like arrays but know about manipulating file names and paths. * Supports parallel execution of tasks.
rspec
BDD for Ruby.
pry
An IRB alternative and runtime developer console.
rails
Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.
simplecov
Code coverage for Ruby 1.9+ with a powerful configuration library and automatic merging of coverage across test suites.
See all alternatives