From: Jeff Peng Date: 2010-01-27T14:44:34+09:00 Subject: Re: How to connect to Mysql & Query for Database Tables > Hi Guys, > Ruby imposes several way of connecting to Mysql (DBI,activerecord..) > Database using ruby code. Let me know if anybody knows how to connect to > mysql the easiest way. DBI is generally an easy way. http://www.kitebird.com/articles/ruby-dbi.html You have to gem install mysql gem install dbd-mysql gem install dbi before using it. HTH.