Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 11-11-2007, 02:47 PM   #1
Registered: May 2006
Location: Leominster, Massachusetts
Distribution: Kubuntu 10.04
Posts: 56

Rep: Reputation: 15
Error using DBI with Perl

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:

Can anyone help me figure out what the problem is?


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL Perl DBI question GoTrolling Linux - Newbie 1 03-21-2007 05:31 AM
Mysql reading via Perl DBI ivanatora Programming 2 03-21-2007 05:03 AM
Updating Perl-DBI on RHEL3 cmnorton Red Hat 0 03-12-2007 02:26 PM
Perl - DBI PG Installation Problems TheMeteorPolice Linux - Software 2 11-23-2005 11:53 AM
perl DBI prepare question mrtwice Programming 1 10-30-2003 03:12 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 05:15 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration