ruby-mysql2 - simple, fast MySQL library for Ruby

Property Value
Distribution Debian Sid
Repository Debian Main amd64
Package name ruby-mysql2
Package version 0.4.5
Package release 2+b2
Package architecture amd64
Package type deb
Installed size 126 B
Download size 40.18 KB
Official Mirror
Description -


Package Version Architecture Repository
ruby-mysql2_0.4.5-2+b2_i386.deb 0.4.5 i386 Debian Main
ruby-mysql2 - - -


Name Value
libc6 >= 2.4
libgmp10 -
libmariadbclient18 >= 10.1.28
libruby2.5 >= 2.5.0~preview1
ruby >= 1:2.5~0
ruby << 1:2.6~
ruby-eventmachine -
zlib1g >= 1:1.1.4


Type URL
Binary Package ruby-mysql2_0.4.5-2+b2_amd64.deb
Source Package ruby-mysql2

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install ruby-mysql2 deb package:
    # sudo apt-get install ruby-mysql2




2016-12-29 - Christian Hofstaedtler <>
ruby-mysql2 (0.4.5-2) unstable; urgency=medium
* Team upload.
* Ignore failing test, probably caused by mariadb client lib
2016-12-19 - Christian Hofstaedtler <>
ruby-mysql2 (0.4.5-1) unstable; urgency=medium
* Team upload.
* New upstream version 0.4.5
* Switch to default-*mysql* (Closes: #845907)
* Work around mariadb grant issue
* Bump debhelper compat level to 10
2016-09-01 - Antonio Terceiro <>
ruby-mysql2 (0.4.4-1) unstable; urgency=medium
* Team upload
[ Cédric Boutillier ]
* Use https:// in Vcs-* fields
* Run wrap-and-sort on packaging files
[ Antonio Terceiro ]
* New upstream version 0.4.4
* Bump Standards-Version to 3.9.8 (no changes needed)
* Replace build dedependency on libmysqld-dev with libmysqlclient-dev
(Closes: #836315)
2016-02-27 - Christian Hofstaedtler <>
ruby-mysql2 (0.4.3-2) unstable; urgency=medium
* Team upload.
* Fix FTBFS on Big Endian architectures caused by wrong size of YEAR type.
2016-02-25 - Antonio Terceiro <>
ruby-mysql2 (0.4.3-1) unstable; urgency=medium
* Team upload
[ Christian Hofstaedtler ]
* Imported Upstream version 0.4.2
* Drop upstream applied patches
* Refresh local patches
* Bump Standard-Version to 3.9.6
[ Antonio Terceiro ]
* Imported Upstream version 0.4.3
* rename debian/ to
debian/ and make it generic; adapt all in
debian/rules accordingly.
* Move logic for calling debian/ for running the
tests inside debian/ruby-tests.rake
* Add skip-problematic-tests.patch to skip 2 tests (Closes: #815770, #796516)
* Add trust-library-ABI.patch: skip check for exact versions of the MySQL
client library (Closes: #794477)
* Update packaging with a new dh-make-ruby run
- bump debhelper compatibility level from 7 to 9
- switch Vcs-* to https URLs
- cleanup debian/rules
2015-07-20 - Antonio Terceiro <>
ruby-mysql2 (0.3.18-1) unstable; urgency=medium
* Team upload
* New upstream release
* Refresh patches
- avoid_openssl_loop.patch dropped, applied upstream
- correct_mysql_init.patch dropped, applied upstream
* debian/ skip database creation, since
mysql seems to already create a database called `test` by default.
Closes: #791785, #782768
* add port_to_rspec3.patch, created with `transpec` plus a few manual tweaks
to port test suite to RSpec3. This was already done upstream, but there
was no release since then. This patch must probably be dropped when the
next release comes.
2015-04-10 - Christian Hofstaedtler <>
ruby-mysql2 (0.3.16-3) unstable; urgency=medium
* Team upload.
* Always shutdown mysqld, even if build fails
* Cleanup hanging rspec child on test failure
2014-11-25 - Cédric Boutillier <>
ruby-mysql2 (0.3.16-2) unstable; urgency=medium
* Add upstream patch avoid_openssl_loop.patch to use /dev/null in the
invalidate_fd function to avoid infinite loop in OpenSSL (Closes: #770891)
Before, a dummy socket was used instead of /dev/null, which may not absorb
all writes and lead to an infinite loop.
* Add upstream patch correct_mysql_init.patch to correctly initialize the
MySQL library, to avoid race condition when other threads try to create a
connection (Closes: #770896)
2014-06-15 - Cédric Boutillier <>
ruby-mysql2 (0.3.16-1) unstable; urgency=medium
[ Jérémy Bobbio ]
* Add git-buildpackage configuration
[ Cédric Boutillier ]
* Imported Upstream version 0.3.16
* remove deactivate_failing_specs.patch: test 'should run signal handlers
while waiting for a response' is now passing.

See Also

Package Description
ruby-nanotest_0.9.4.1-1_all.deb Exteremely minimal test framework
ruby-narray-miss_1.4.0-2_all.deb Additional class with processing of missing value to NArray
ruby-narray_0.6.1.2-2+b1_amd64.deb Numerical N-dimensional Array library for Ruby
ruby-naught_1.1.0-1_all.deb Naught is a toolkit for building Null Objects
ruby-ncurses_1.4.9-1+b3_amd64.deb ruby extension for the ncurses C library
ruby-nenv_0.3.0-2_all.deb convenient wrapper for Ruby's ENV
ruby-neovim_0.7.1-1_all.deb Ruby client for Neovim
ruby-nested-form_0.3.2-2_all.deb conveniently handle multiple models in a single form
ruby-net-dns_0.8.0-1_all.deb Pure Ruby DNS library
ruby-net-http-digest-auth_1.4-2_all.deb RFC 2617 Digest Access Authentication implementation
ruby-net-http-persistent_2.9.4-1_all.deb Manages persistent connections using Net::HTTP
ruby-net-irc_0.0.9-3_all.deb Ruby IRC library (Client, Server and many IRC gateways to webservice)
ruby-net-ldap_0.16.1-1_all.deb LDAP client library for Ruby
ruby-net-scp_1.2.1-5_all.deb pure ruby implementation of the SCP protocol
ruby-net-sftp_2.1.2-4_all.deb Ruby implementation of the SFTP protocol