-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Paul Vudmaska wrote: | I've just installed dbi on a new host. The install seemed to go | well...--with mysql, etc. No errors. | | I'm getting this error trying to connect. | | * is not a class/module* | | /usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:490:in `load_driver' | /usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:392:in `_get_full_driver' | /usr/local/lib/ruby/site_ruby/1.8/dbi/dbi.rb:372:in `connect' | /usr/local/www/test.daspeachhaus.com/www/default.rbx:12 | /usr/local/lib/ruby/site_ruby/1.8/apache/ruby-run.rb:70:in `load' | /usr/local/lib/ruby/site_ruby/1.8/apache/ruby-run.rb:70:in `handler' | | Here is my file: | | #>default.rbx | | #!/usr/local/bin/ruby18/ | | begin | | require 'cgi' | cgi = CGI.new | cgi.header('content-type'=>'text/html') | puts '<html><body>' | | require 'dbi' | DBI.connect("dbi:Mysql:database:host",'usr','pwd') | puts '</body></html>' | | rescue Exception | $stdout.cancel | se = '<b>' + $!.to_s + '</b><p/>' + $@.join('<br/>') | puts <<-EOS | <html> | <body> | #{se} | </body> | </html> EOS | | end Is this your actual code ? From the top of my head I would downcase mysql as in 'dbi:mysql:mydatabase:host'. Have you run the tests from the mysql install against your 'test' database ? k -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFAnyjqFifl4CA0ImQRApx/AJ4v5lcGKdR04h03D6AgIuezrl7mtwCgtJcU Afv0V20vzHJH9sl2nUmNLgQ= =SyfN -----END PGP SIGNATURE-----