Red Hat Bugzilla – Bug 197523
mysqlhotcopy DBI error in mysql-server-5.0.22-1.FC5.1
Last modified: 2007-11-30 17:11:36 EST
Description of problem:
mysqlhotcopy reports operational error and exit with error code 1. It appears
to successfully copy the databases though.
Version-Release number of selected component (if applicable):
mysql-server-5.0.22-1.FC5.1 (why is there no separate mysql-server component?
How reproducible: every time
Steps to Reproduce:
1. invoke mysqlhotcopy to copy a database
DBI::db=HASH(0x8e1394c)->disconnect invalidates 1 active statement handle
(either destroy statement handles or call finish on them before disconnecting)
at /usr/bin/mysqlhotcopy line 537.
and exits with error code 1
Expected results: No errors
out=`mysqlhotcopy --regexp=\\\w+ --allowold $db /var/lib/mysqbackup`
if [ $? != 0 ]; then
According to the upstream discussion this is a DBD::mysql bug:
This appears to be fixed by perl-DBD-MySQL-3.0007. I've build this version as
an update to FC-5. It should appear in updates-testing soon. Please let me
know if this version fixes your issues.
I have upgraded to FC6 which apparently has the updated version, and the errors
have indeed gone away. Feel free to close this one as you see fit.
Yeah, FC6 includes perl-DBD-3.0007. I'll leave this bug open and continue with
pushing the update to FC5 in case other users run into it.
perl-DBD-MySQL-3.0007-1.fc5 has been pushed for fc5, which should resolve this issue. If these problems are still present in this version, then please make note of it in this bug report.