From: "Krzysztof P. Jasiutowicz" Date: 2001-06-22T18:59:21+09:00 Subject: [ruby-talk:16761] Re: DBI 0.0.5 problem On 22-06-2001, Michael Neumann wrote thusly : > Krzysztof P. Jasiutowicz wrote: > > Could someone please explain why all my DBI scripts are failing ? > > With an error : > > /usr/lib/ruby/site_ruby/1.6/dbi/dbi.rb:289:in `load_driver': Could not load > > driver (No such file to load -- mysql) (DBI::InterfaceError) > > from /usr/lib/ruby/site_ruby/1.6/dbi/dbi.rb:252:in `connect' > > from x.rb:4 > The DBD is named "Mysql" not "mysql" (like Perl). And I am calling this DBD like this in x.rb file : dbh = DBI.connect('DBI:Mysql:test', '', '') so why does it report 'mysql' file error ? Thanks. Bye, kpj. -- Krzysztof P. Jasiutowicz, M.D | Film nie jest sztuk� uczonych, lecz Czestochowa, Poland ... | analfabet�w. Werner Herzog Wi�cej cytat�w : http://www.cytaty.phg.pl