• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue Migration & Transfer Manager - DB migration error

cladem

New Pleskian
Hi - when trying to migrate subscription from Server A (Plesk Obsidian installed on Debian 9) on Server B (Plesk Obsidian installed on Debian11) i receive the following error:

Failed to copy content of database 'XXX'
Migration tools tried to perform operation in 3 attempts: Command execution failed on the source server 'source' (x.x.x.x.) with non-zero exit code.
command: MYSQL_PWD="$(cat)" mysqldump --no-defaults -h localhost -P 3306 -uadmin --quick --quote-names --add-drop-table --default-character-set=utf8 --set-charset --routines --events XXX > /root/plesk_migrator/plesk_migrator-yyy/db-dumps/xxx.sql
exit code: 2
stdout:
stderr: mysqldump: Couldn't execute 'show events': Cannot proceed, because event scheduler is disabled (1577)

can you help me ?
 
Enable the event_scheduler using the following steps:

Create a backup of MySQL configuration file:

# cp -a /etc/my.ini{,.bak}

Open my.ini or my.cnf with a text editor.

Add the following records under the [mysqld] section:

event_scheduler=ON

Restart MySQL service:

# service mysql restart
 
Back
Top