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.