I found mysql2 gem. It works fine with ruby 1.9 and utf8 encoding (as opposed to mysql gem).
But I have doubts. Does somebody use this gem in production? What about
If anyone wants to use the mysql gem instead of the mysql2 gem in Rails 3.0.0 for Windows, I wrote a short article that explains how to tweak the rails app generator.