From: Hassan Schroeder Date: 2009-12-24T04:22:59+09:00 Subject: Re: Help with gem ruby mysql error On Wed, Dec 23, 2009 at 11:05 AM, Andrew Ting wrote: >>> db = Mysql.connect("localhost", "user","password", "database") > NoMethodError: undefined method `connect' for Mysql:Class >  from (irb):3 > Now, i got to say i'm not sure where i can find the user, password and > database for now, but above show undefined method even before > authentication... Yeah, that sounds completely broken. You could try (in irb) >> Mysql.methods just for the heck of it, but I think you need to delete that gem entirely and rebuild, against whatever version of MySQL you plan to use. Good luck! -- Hassan Schroeder ------------------------ hassan.schroeder@gmail.com twitter: @hassan