Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7503245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:09:11+00:00 2026-05-29T21:09:11+00:00

I have two servers running on redhat and debian. I am using a perl

  • 0

I have two servers running on redhat and debian. I am using a perl script for taking mysql backups and in redhat it is working fine. When I run it on debian, I get the following error:

Can't locate Mysql.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at ./dbbackup.pl line 15.

I googled this error and found that I need to install mysql driver for perl. I installed it using this command:

sudo apt-get install libdbd-mysql-perl

The response was as follows:

Reading package lists... Done
Building dependency tree
Reading state information... Done
libdbd-mysql-perl is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 189 not upgraded.

Still I am getting the same error. Can someone help me on this? Do I need to restart any other service?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:09:13+00:00Added an answer on May 29, 2026 at 9:09 pm

    Mysql.pm was the old, pre-DBI interface to MySQL. It’s been obsolete for years, and was dropped entirely from the DBD-mysql dist (a.k.a. libdbd-mysql-perl) in 2006.

    You can try to install an old copy, but you’re better off porting the backup script to DBI and DBD::mysql, or finding a newer backup script.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two IIS servers running using NLB. Unfortunatelly I cannot use shared session
I have one table spread across two servers running MySql 4. I need to
I have two servers, both running phpmyadmin, and I exported a mysql dump on
On my Unix web server, I have two MySQL database servers running. One on
When I have two mysql servers that have different jobs (holding different databases) but
I have two servers running git, one main instance with gitorious installed and another
I have two servers running IIS, say, Server-A and Server-B. Server-A is in the
I have two tomcat servers running at the same time. I have reports which
if i have two IIS servers 5v on one network running winxp each hosting
We have two zope servers running our company's internal site. One is the live

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.