Solved

Perl can't find DBD::mysql module

Posted on 2004-08-04
7
322 Views
Last Modified: 2013-12-15
I recently installed Redhat 7.  I want to turn this into a web server.  

I have installed Apache2, and Perl 5.6 was already installed on the system.  I need Perl to be able to access mysql, since I plan on using MovableType.

I downloaded the newest versions of DBD, mysql, and showtable.  I built all 3 modules successfully.  Yet if I try to use the modules inside a perl script, it doesnt find them.

Anybody know what i did wrong?

Thanks in advance.
0
Comment
Question by:cbestal
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 11720973
Did you install the perl modules? The normal steps to install a Perl module is to first create the Makefile:

perl Makefile.pl

Then you do a make, followed by a make install:

make
make install

What is the exact error message you get?
0
 

Author Comment

by:cbestal
ID: 11722449
yes, i installed them.

I dont get an error message.  Perl just does not find the modules.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 11722466
What is the error message you get from Perl?
0
Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 11722600
When you say you installed DBD, are you sure you installed DBD-mysql? There are a number of DBD modules, every one for a different database.
0
 
LVL 9

Accepted Solution

by:
gtkfreak earned 125 total points
ID: 11722741
Download perl-DBD-MySQL, libdbi-dbd-mysql and lastly, perl-DBI-.... from your distribution's website or from MySQL website.
You can search for it in google and download also.
0
 

Author Comment

by:cbestal
ID: 11739714
I fixed my problem by installing RedHat 9.

Since I must give the points to someone, I'll award them to gtkfreak, since his/her answer was the only answer not in the form of a question.
0
 
LVL 44

Expert Comment

by:Karl Heinz Kremer
ID: 11740129
Actually, you don't have to give the points to somebody: If you solved the problem yourself, and post the solution (which you did), you can request a refund of your points by posting a request in the Community Support area (see the link at the top of the page).
0

Featured Post

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question