Topic: Patch Needed for mysqlhotcopy

I am having a problem with mysqlhotcopy and need the patch listed below applied to the mysqlhotcopy script. Is there any way someone can show me how to apply this patch? I would be so greatful.

smile


http://bugs.mysql.com/bug.php?id=43594& … notify=515

Re: Patch Needed for mysqlhotcopy

Ben comme tout "patch" (fichier de correctifs) il doit être appliqué sur le fichier à corriger,
En résumé, dans ce cas

# téléchargement
wget 'http://bugs.mysql.com/file.php?id=11560&text=1' -O /tmp/patch
# sauvegarde de la version officielle
cd /usr/bin
cp mysqlhotcopy mysqlhotcopy.sauve
# Application du correctif
patch mysqlhotcopy </tmp/patch

Effectivement, il permet de faire une sauvegarde de la base "mysql" (qui est refusé à cause des tables de journalisation qui ne sont pas verrouillable).

+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi