MySQL :: MySQL 5.7 Reference Manual :: 27.11 MySQL Ruby APIs (original) (raw)

27.11.1 The MySQL/Ruby API

27.11.2 The Ruby/MySQL API

The mysql2 Ruby gem provides an API for connecting to MySQL, performing queries, and iterating through results; it is intended to support MySQL 5.7 and MySQL 8.0. For more information, see themysql2 page at RubyGems.org or the project'sGitHub page.

For background and syntax information about the Ruby language, seeRuby Programming Language.