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.
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.
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.