27.11 MySQL Ruby APIs

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 the 'mysql2' page at RubyGems.org (https://rubygems.org/gems/mysql2/) or the project's GitHub page (https://github.com/brianmario/mysql2).

For background and syntax information about the Ruby language, see Ruby Programming Language (http://www.ruby-lang.org).

 File: manual.info.tmp, Node: apis-ruby-mysqlruby, Next: apis-ruby-rubymysql, Prev: apis-ruby, Up: apis-ruby

27.11.1 The MySQL/Ruby API

The MySQL/Ruby module provides access to MySQL databases using Ruby through 'libmysqlclient'.

For information on installing the module, and the functions exposed, see MySQL/Ruby (http://tmtm.org/en/mysql/ruby/).

 File: manual.info.tmp, Node: apis-ruby-rubymysql, Prev: apis-ruby-mysqlruby, Up: apis-ruby

27.11.2 The Ruby/MySQL API

The Ruby/MySQL module provides access to MySQL databases using Ruby through a native driver interface using the MySQL network protocol.

For information on installing the module, and the functions exposed, see Ruby/MySQL (http://tmtm.org/en/ruby/mysql/README_en.html).

 File: manual.info.tmp, Node: apis-tcl, Next: apis-eiffel, Prev: apis-ruby, Up: connectors-apis