Solved

Perl can't find DBD::mysql module

Posted on 2004-08-04
7
312 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
  • 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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
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 …
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

705 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now