From: Greg Brondo Date: 2003-03-13T05:56:15+09:00 Subject: Re: Problem with Mysql in win ruby 1.6.8 Child wrote: > On Wed, 12 Mar 2003 17:36:47 GMT, Greg Brondo wrote: > >>I've installed the PP 1.6.8 version of Ruby for windows. It comes with >>DBI and Mysql support. However, when I run a test.rb script I wrote >>(basically the stuff from the Mysql-DBI homepage). I get this error: >> >>c:/ruby/lib/ruby/site_ruby/1.6/dbi/dbi.rb:424:in `load_driver': Could >>not load driver (uninitialized constant Mysql at DBI::DBD) > > > I you sure you have both dbi *and* mysql-ruby installed? I had the same > error when I installed dbi but not mysql-ruby (I had thought dbi has > mysql support included). > > As far as I know. I used version 1.6.8 from rubyinstaller.sf.net. It's supposed to include DBI and Mysql. I checked in the library and mysql.o is there.