473,408 Members | 2,832 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

Can't locate DBD/mysql.pm in @INC

Hi!

I am trying to set-up mysql-zrm to take backups of a remote mysql server.

The mysqlhotcopy command is throwing up the following error:

Output of command: 'mysqlhotcopy' is {
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/lib/perl5/5.8.8/i586-linux-thread-multi /usr/lib/perl5/5.8.8 /usr/lib/perl5 /site_perl/5.8.8/i586-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib /perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i586-linux-thread-multi /usr/l ib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl .) at (eval 8) line 3.
Perhaps the DBD::mysql perl module hasn't been fully installed,
or perhaps the capitalisation of 'mysql' isn't right.
Available drivers: DBM, ExampleP, File, Proxy, SQLite, Sponge.
at /usr/bin/mysqlhotcopy line 177
mysqlhotcopy on host remote.mysql.net failed at /usr/share/mysql-zrm/plugins/ssh-copy.pl line 317.
}


I have installed the perl-DBI, perl-XML-Parser and perl-DBD-mysql along with the mysql package included on the SLES10 install disc(I am using SLES10 sp1); also checked the presence of rpms through Yast - so I don't think that the packages are missing...

But I still cannot figure out why this error is occuring and how to fix it.

Could somebody please tell me what is the @INC file?
I guess that the file contained the list of paths where mysql would try to locate the perl-DBD-mysql driver - I checked at the location and found the mysql.pm in the DBD folder along with the other drivers mentioned in the output. So why is it not locating??

Help needed.
Nov 5 '08 #1
1 8853
r035198x
13,262 8TB
Only thing I can suggest is to go through the mysqlhotcopy reference and check to see that you have everything suggested there.
Nov 7 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Slant | last post by:
I have been using MySQL in conjunction with PHP for many years now... I have been using the exact same method for not only connecting to a database and performing the queries but also displaying...
0
by: Jasper | last post by:
Hi There Iam wanting to do some SQL stuff from my C++ app, but I cant get mysql++ to compile under Visual Studio 2003 or even be able to use the precompiled libs, is there a version thats been...
0
by: john townsley | last post by:
I cant get mysql to run on my winXP computer. I have downloaded it and installed , unzipped and run setup.exe and placed it in c:\mysql. I type the command to start the mysql server...
0
by: packrat | last post by:
I am attempting to build a Bugzilla server on OS X. All of this is new to me, working with the Perl, MySQL, and Bugzilla, so I have been banging my head often. Software error: When I run the...
1
by: Rich | last post by:
Hello, I need to change the font size of a datagridview to accommodate a screen resolution of 800x600. I know how to set the fontsize at runtime datagridview1.Font = New Font("arial", 8,...
5
by: HugoFromBOSS | last post by:
Hello, all this is starting to buy me the "make" compiler cant find "mysql.h" nor does "mysql.h" exisit on my system. I have tired searching for an answer on google but I cant understand any of them...
1
by: HugoFromBOSS | last post by:
Hey, I have compiled my application and it works fine connection to a MySQL database. When I move the application onto another computer It cant locate mySQL.h this is resolved by "yum install...
1
by: Bob | last post by:
Im setting up a fedora core 8 web server. Im currently running everything on another fedora core 6 server (working fine). Ive installed php 5.2.5 and apache 2.0.63 Im getting the following: ...
5
by: scorpionbilli | last post by:
Hi, The local mysql server is running on my Macbook. I can access it through the console client: $ mysql -u root Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL...
1
by: David Kingsly | last post by:
I get an error message while trying to follow these procedures: http://www.howtoforge.com/intrusion-...on-ubuntu-7.10 Here is the error: Fatal error: Call to undefined function mysql_connect() in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.