Hacker GitHub

← All repos

brianmario/mysql2

View on GitHub ↗ ★ 2,275 Ruby

A modern, simple and very fast Mysql library for Ruby - binding to libmysql

9 mentions on Hacker News by 9 people: 1 story, 8 comments · first 2010-04-05 · latest 2017-05-06

Mentions per year 9 mentions · busiest year 2010 (2)
20082026
  1. …not 25, because nah that'd have been too easy to be able to reproduce the bug right away). [0] bug: https://github.com/brianmario/mysql2/issues/822 [1] repro: https://github.com/adhoc-gti/mysql2_pointer_bug
    comment by lloeki · 2017-05-06 · in The Horror in the Standard Library
  2. …socket fd (although, there are bugs related to improperly handling this, here's one that bit me: https://github.com/brianmario/mysql2/issues/516 ). This is why the failure cases on syscalls should always be examined and there should be a…
    comment by thwarted · 2015-05-25 · in Redirecting Stdio is Hard
  3. …unbeliveably slow with MySQL (20 times as slow). I opened an issue and you find the details there https://github.com/brianmario/mysql2/issues/623 One of the mysql2 maintainers has been kind and helped me to fix the problem in this…
  4. …raw access to your MySQL database, the gem 'mysql2' is preferred (github with a simple tutorial: https://github.com/brianmario/mysql2 ). mysql2 seems to have taken it's interface design from Perl's DBI, which is cool if you're used to that…
  5. …the mysql2 gem. There is an open issue / pull request but it doesn't seem to have much momentum. https://github.com/brianmario/mysql2/pull/289
  6. …swallow when encountering astral planes issues in 2012 when Unicode 2.0 was introduced in 1996. [0] https://github.com/brianmario/mysql2/issues/249
  7. Oh you're right, I was thinking of the MySQL bindings (don't know where the original ones are at) https://github.com/brianmario/mysql2/tree/master/ext/mysql2
  8. Some people may not like it, but this is exactly why I chose to force UTF-8 for http://github.com/brianmario/mysql2 for all the strings you get back (in 1.9), and the connection itself. We've all dealt with improper use of encodings…
  9. ▲ 13
    Mysql2 - A modern, simple and fast Mysql library for Ruby, binding to libmysql
    story by there · 2010-04-05 · 0 comments