From: tesla Date: 2006-08-06T21:06:02+09:00 Subject: Re: DBI/DBD for MySQL ------=_Part_36690_24436741.1154865959436 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Checkout this tutorial. It should have everything you need to know to get going. http://www.hiveminds.co.uk/node/3098 -Tesla On 8/6/06, Daniel Berger wrote: > > Michael Perle wrote: > > Hi there, > > > > I am a bit confused about the installation for DBI/DBD. > > > > - Is the default build/install of Ruby 1.8.4 > > not including the DBI module? > It's not not part of the stdlib. It's bundled with the one-click > installer for Windows, though. > > - If no: Is there no Gem available for DBI? > Not yet. > > > > - Is the MySQL DBD not part of the Windows > > binary distribution of Ruby 1.8.2? 1.8.4? > Yes, but the underlying driver is not. > > > > - Is there a way to install the DBD module > > on my laptop where I have no make/gcc/...? > The DBD is just an interface for an underlying driver. You don't need > to *build* dbd-mysql, just install it. It's a wrapper for > http://raa.ruby-lang.org/project/mysql-ruby/. > > > > Another question I was asking myself: > > When upgrading Ruby, I normally remove and > > re-install. Is that the normal way to go? > That's what I do. > > > > > > > > c:/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:499:in `load_driver': > > is not a class/module (TypeError) > > from c:/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:401: > > in `_get_full_driver' > > from c:/ruby/lib/ruby/site_ruby/1.8/dbi/dbi.rb:381:in `connect' > > from c:/test/test.rb:5 > > > > I would say the DBD for MySQL is not installed. > > > > > The underlying driver is not installed. > > Regards, > > Dan > > ------=_Part_36690_24436741.1154865959436--