# databases/ruby-mysql2 - The NetBSD Packages Collection

Simple, fast Mysql library for Ruby, binding to libmysql

    Mysql2

    Mysql2 is a modern, simple and very fast Mysql library for Ruby - binding to
    libmysql.

    The Mysql2 gem is meant to serve the extremely common use-case of connecting,
    querying and iterating on results.  Some database libraries out there serve as
    direct 1:1 mappings of the already complex C API's available.  This one is
    not.

    It also forces the use of UTF-8 (or binary) for the connection (and all
    strings in 1.9, unless Encoding.default_internal is set then it'll convert
    from UTF-8 to that encoding) and uses encoding-aware MySQL API calls where it
    can.

- Source version: `ruby33-mysql2-0.5.7`
- Maintainer: taca AT NetBSD.org
- Website: https://github.com/brianmario/mysql2/
- License: mit
- Package history: cvs, hg, git

## Build dependencies

pkgtools/mktools lang/ruby33 pkgtools/cwrappers

## Runtime dependencies

databases/mariadb114-client lang/ruby33 databases/mariadb114-client

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64eb | ruby31-mysql2-0.5.6.tgz
NetBSD 10.0 | aarch64eb | ruby32-mysql2-0.5.6.tgz
NetBSD 10.0 | aarch64eb | ruby33-mysql2-0.5.6.tgz
NetBSD 10.0 | aarch64eb | ruby34-mysql2-0.5.6.tgz
NetBSD 10.0 | earmv6hf | ruby32-mysql2-0.5.7.tgz
NetBSD 10.0 | earmv6hf | ruby33-mysql2-0.5.7.tgz
NetBSD 10.0 | earmv6hf | ruby34-mysql2-0.5.7.tgz
NetBSD 10.0 | earmv6hf | ruby40-mysql2-0.5.7.tgz
NetBSD 10.0 | earmv6hf | ruby32-mysql2-0.5.7.tgz
NetBSD 10.0 | earmv6hf | ruby33-mysql2-0.5.7.tgz
NetBSD 10.0 | earmv6hf | ruby34-mysql2-0.5.7.tgz
NetBSD 10.0 | earmv7hf | ruby32-mysql2-0.5.7.tgz
NetBSD 10.0 | earmv7hf | ruby33-mysql2-0.5.7.tgz
NetBSD 10.0 | earmv7hf | ruby34-mysql2-0.5.7.tgz
NetBSD 10.0 | earmv7hf | ruby40-mysql2-0.5.7.tgz
NetBSD 10.0 | earmv7hf | ruby32-mysql2-0.5.7.tgz
NetBSD 10.0 | earmv7hf | ruby33-mysql2-0.5.7.tgz
NetBSD 10.0 | earmv7hf | ruby34-mysql2-0.5.7.tgz
NetBSD 10.0 | i386 | ruby32-mysql2-0.5.7.tgz
NetBSD 10.0 | i386 | ruby33-mysql2-0.5.7.tgz
NetBSD 10.0 | i386 | ruby34-mysql2-0.5.7.tgz
NetBSD 10.0 | i386 | ruby40-mysql2-0.5.7.tgz
NetBSD 10.0 | i386 | ruby32-mysql2-0.5.7.tgz
NetBSD 10.0 | i386 | ruby33-mysql2-0.5.7.tgz
NetBSD 10.0 | i386 | ruby34-mysql2-0.5.7.tgz
NetBSD 10.0 | powerpc | ruby31-mysql2-0.5.6.tgz
NetBSD 10.0 | powerpc | ruby32-mysql2-0.5.6.tgz
NetBSD 10.0 | powerpc | ruby33-mysql2-0.5.6.tgz
NetBSD 10.0 | powerpc | ruby34-mysql2-0.5.6.tgz
NetBSD 10.0 | powerpc | ruby32-mysql2-0.5.7.tgz
NetBSD 10.0 | powerpc | ruby33-mysql2-0.5.7.tgz
NetBSD 10.0 | powerpc | ruby32-mysql2-0.5.7.tgz
NetBSD 10.0 | powerpc | ruby33-mysql2-0.5.7.tgz
NetBSD 10.0 | powerpc | ruby34-mysql2-0.5.7.tgz
NetBSD 10.0 | powerpc | ruby40-mysql2-0.5.7.tgz
NetBSD 10.0 | sparc64 | ruby31-mysql2-0.5.6.tgz
NetBSD 10.0 | sparc64 | ruby32-mysql2-0.5.6.tgz
NetBSD 10.0 | sparc64 | ruby33-mysql2-0.5.6.tgz
NetBSD 10.0 | sparc64 | ruby32-mysql2-0.5.7.tgz
NetBSD 10.0 | sparc64 | ruby33-mysql2-0.5.7.tgz
NetBSD 10.0 | sparc64 | ruby34-mysql2-0.5.7.tgz
NetBSD 10.0 | sparc64 | ruby32-mysql2-0.5.7.tgz
NetBSD 10.0 | sparc64 | ruby33-mysql2-0.5.7.tgz
NetBSD 10.0 | sparc64 | ruby34-mysql2-0.5.7.tgz
NetBSD 10.0 | x86_64 | ruby32-mysql2-0.5.7.tgz
NetBSD 10.0 | x86_64 | ruby33-mysql2-0.5.7.tgz
NetBSD 10.0 | x86_64 | ruby34-mysql2-0.5.7.tgz
NetBSD 10.0 | x86_64 | ruby40-mysql2-0.5.7.tgz
NetBSD 10.0 | x86_64 | ruby32-mysql2-0.5.7.tgz
NetBSD 10.0 | x86_64 | ruby33-mysql2-0.5.7.tgz
NetBSD 10.0 | x86_64 | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | aarch64 | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | aarch64 | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | aarch64 | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | aarch64 | ruby40-mysql2-0.5.7.tgz
NetBSD 11.0 | aarch64 | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | aarch64 | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | aarch64 | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv6hf | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv6hf | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv6hf | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv6hf | ruby40-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv6hf | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv6hf | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv6hf | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv7hf | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv7hf | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv7hf | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv7hf | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv7hf | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv7hf | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | earmv7hf | ruby40-mysql2-0.5.7.tgz
NetBSD 11.0 | i386 | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | i386 | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | i386 | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | i386 | ruby40-mysql2-0.5.7.tgz
NetBSD 11.0 | i386 | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | i386 | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | i386 | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | powerpc | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | powerpc | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | powerpc | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | powerpc | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | powerpc | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | powerpc | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | riscv64 | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | riscv64 | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | riscv64 | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | riscv64 | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | riscv64 | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | riscv64 | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | riscv64 | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | riscv64 | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | riscv64 | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | x86_64 | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | x86_64 | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | x86_64 | ruby34-mysql2-0.5.7.tgz
NetBSD 11.0 | x86_64 | ruby40-mysql2-0.5.7.tgz
NetBSD 11.0 | x86_64 | ruby32-mysql2-0.5.7.tgz
NetBSD 11.0 | x86_64 | ruby33-mysql2-0.5.7.tgz
NetBSD 11.0 | x86_64 | ruby34-mysql2-0.5.7.tgz
NetBSD 9.0 | i386 | ruby32-mysql2-0.5.7.tgz
NetBSD 9.0 | i386 | ruby33-mysql2-0.5.7.tgz
NetBSD 9.0 | i386 | ruby34-mysql2-0.5.7.tgz
NetBSD 9.0 | i386 | ruby40-mysql2-0.5.7.tgz
NetBSD 9.0 | i386 | ruby32-mysql2-0.5.7.tgz
NetBSD 9.0 | i386 | ruby33-mysql2-0.5.7.tgz
NetBSD 9.0 | i386 | ruby34-mysql2-0.5.7.tgz
NetBSD 9.0 | i386 | ruby40-mysql2-0.5.7.tgz
NetBSD 9.0 | powerpc | ruby32-mysql2-0.5.6.tgz
NetBSD 9.0 | powerpc | ruby33-mysql2-0.5.6.tgz
NetBSD 9.0 | powerpc | ruby34-mysql2-0.5.6.tgz
NetBSD 9.0 | x86_64 | ruby32-mysql2-0.5.7.tgz
NetBSD 9.0 | x86_64 | ruby33-mysql2-0.5.7.tgz
NetBSD 9.0 | x86_64 | ruby34-mysql2-0.5.7.tgz
NetBSD 9.0 | x86_64 | ruby40-mysql2-0.5.7.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

(no vulnerabilities known)

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.