The Mysql2 gem is meant to serve the extremely common use-case of connecting, querying and iterating on results.
The mysql2
gem is an interface for accessing MySQL databases from Ruby. This gem is an incompatible improvement over the original mysql
gem.
Links: