From: KDr2 Date: 2007-03-13T10:45:05+09:00 Subject: Re: Newbie: best way to connect to MySQL? "planetthoughtful" writes: > On Mar 13, 10:33 am, "kreiggers" wrote: >> On Mar 12, 4:33 pm, "planetthoughtful" >> wrote: >> >> > Is there a better way to connect to a MySQL server using Ruby than via >> > ODBC? Is there a syntax for supplying user and password settings for >> > the ODBC::connect statement above? >> >> Yes, use the mysql gem. >> >> install: >> gem install mysql > > Hi, > > Thanks for your reply. Do you (or does anyone else) know if I can > download and install the mysql gem locally? I'm behind a corporate > firewall and it doesn't seem that the Gem package manager can get out. > > So, I guess what I'm asking is: > > - Can I download the gem file? Yes,you can. > - Where do I get it from, if I can? there are many sites...for eg: http://rubyforge.vm.bytemark.co.uk/gems/ > - Is there any special syntax for installing it from a local file? No,just place the file *.gem under the current dir,then execute "gem i filename.gem" > > Thanks again! > > pt > -- http://kdr2.net ------yours Killy Draw