diff --git a/pkg/operator/vttablet/mysqlctld.go b/pkg/operator/vttablet/mysqlctld.go index d204ca06..d391fed1 100644 --- a/pkg/operator/vttablet/mysqlctld.go +++ b/pkg/operator/vttablet/mysqlctld.go @@ -29,7 +29,7 @@ const ( vtRootInitScript = `set -ex mkdir -p /mnt/vt/bin cp --no-clobber /vt/bin/mysqlctld /mnt/vt/bin/ -cp --no-clobber /usr/bin/mysqlbinlog /mnt/vt/bin/ +cp --no-clobber /usr/bin/mysqlbinlog /usr/bin/ mkdir -p /mnt/vt/config if [[ -d /vt/config/mycnf ]]; then cp --no-clobber -R /vt/config/mycnf /mnt/vt/config/ diff --git a/pkg/operator/vttablet/vtbackup_pod.go b/pkg/operator/vttablet/vtbackup_pod.go index 4bcb3007..70c54681 100644 --- a/pkg/operator/vttablet/vtbackup_pod.go +++ b/pkg/operator/vttablet/vtbackup_pod.go @@ -35,7 +35,7 @@ const ( vtbackupInitScript = `set -ex mkdir -p /mnt/vt/bin cp --no-clobber /vt/bin/vtbackup /mnt/vt/bin/ -cp --no-clobber /usr/bin/mysqlbinlog /mnt/vt/bin/ +cp --no-clobber /usr/bin/mysqlbinlog /usr/bin/ mkdir -p /mnt/vt/config if [[ -d /vt/config/mycnf ]]; then cp --no-clobber -R /vt/config/mycnf /mnt/vt/config/