List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:January 21 2003 1:06am
Subject:Re: Article: Using the Ruby DBI Module
View as plain text  
At 15:09 -0900 1/20/03, Rich Allen wrote:
>Paul/others,
>
>/usr/lib/ruby/site_ruby/1.6/dbi/dbi.rb:477:in `load_driver': Could 
>not load driver (uninitialized constant Mysql at DBI::DBD) 
>(DBI::InterfaceError)
>	from /usr/lib/ruby/site_ruby/1.6/dbi/dbi.rb:384:in `_get_full_driver'
>	from /usr/lib/ruby/site_ruby/1.6/dbi/dbi.rb:364:in `connect'
>	from /Users/hcir/Desktop/simple.rb:8
>
>
>am getting this when using the simple.rb example with Mac OS X 
>10.2.3? i have Perl working with mysql and DBI ...
>
>followed the install from the link below

That's the error you get if you didn't install Ruby DBI's MySQL driver,
so I'd guess you did something a bit different than what the instructions
in the article say.  What were your exact configuration and install commands?

>
>thanks
>- hcir
>
>>
>>     http://www.kitebird.com/articles/
>>

Thread
Article: Using the Ruby DBI ModulePaul DuBois20 Jan
  • Re: Article: Using the Ruby DBI ModuleRich Allen21 Jan
    • Re: Article: Using the Ruby DBI ModulePaul DuBois21 Jan