I have been working on getting mysqlhotcopy working on my Solaris servers with no luck for over a week.
I get the following error message.
mysqlhotcopy --port 3389 test tmp/
install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/perl5/5.8.4/lib/i86pc-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/i86pc-solaris-64int /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at (eval 6) 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, Gofer, Pg, Proxy, Sponge.
at /usr/bin/mysqlhotcopy line 177
I had tried to compile the DBD::mysql to work with the Perl that comes with the companion cd but with no luck. I then found a site that already had a pkg for Solaris and all it dependence it needed.
The site is
http://www.opencsw.org/
I was able to install what I needed but it puts all the files in the /opt/csw directory. What I need to know is files mysqlhotcopy is looking for run correctly. And where should they be located?
I am run Solaris 10.9u, Perl version 5.8.4 and mysqlhotcopy version1.23.
The version of Perl that got install in the /opt/csw directory is v5.10.1.
I would appreciate any help
Thanks
John