Solved

Perl can't find DBD::mysql module

Posted on 2004-08-04
7
318 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
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…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

735 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