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
20082026
-
…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 -
…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 -
…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…
comment by pmontra · 2015-05-22 · in Yahoo Open-Sources MySQL Performance Analyzer -
…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…
comment by jrumbut · 2013-08-10 · in How to write a command line application in Node.js -
…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
comment by mds_ · 2013-01-03 · in SQL Injection Vulnerability in Ruby on Rails; affects all versions -
…swallow when encountering astral planes issues in 2012 when Unicode 2.0 was introduced in 1996. [0] https://github.com/brianmario/mysql2/issues/249
comment by masklinn · 2012-07-10 · in Unicode is, in 2012, still “cutting edge.” -
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
comment by jarin · 2011-02-16 · in Nobody really gives a damn what you built your site in (why I chose asp.net). -
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…
comment by brianmario · 2010-05-13 · in Ruby 1.9 made me remember how I hate the concept of encodings -
▲ 13
Mysql2 - A modern, simple and fast Mysql library for Ruby, binding to libmysqlstory by there · 2010-04-05 · 0 comments