DBI - error loading driver

P

Peter Vanderhaden

I installed the DBI package so that I could write Ruby scripts that
access MySQL databases. When I attempt to run a test script, I get the
following error:

/usr/local/lib/site_ruby/1.8/dbi.rb:344:in `load_driver': Could not load
driver (no such file to load -- mysql) (DBI::InterfaceError)
from /usr/local/lib/site_ruby/1.8/dbi.rb:227:in
`_get_full_driver'
from /usr/local/lib/site_ruby/1.8/dbi.rb:213:in `connect'
from /root/bin/simple.rb:6

I used the instructions at this link:

www.kitebird.com/articles/rubi-dbi.html

Can anyone help me figure out what the problem is?
Thanks....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top