- Plesk for Linux
Note: This article has the reference to the issue with the fix available:
- #PMT-3778 "MySQL databases could not be migrated if a database’s admin password did not match the password
stored in the PSA database."
- Plesk Migrator 2.9.2 07 June 2017 (Linux)
The following error appears during the migration:
CONFIG_TEXT: Migration tools tried to perform operation in 3 attempts: Command execution failed on the source server 'source' (203.0.113.2) with non-zero exit code. command: MYSQLPWD="$(cat)" mysqldump --no-defaults -h localhost -P 3306 -uadmin --quick --quote-names --add-drop-table --default-character-set=utf8 --set-charset --routines jodablog > /root/pleskmigrator/plesk_migrator-1u4toa0o30zkwb8vsa29kinwh9erofbo/db-dumps/database.sql exit code: 2 stdout: stderr: mysqldump: Got error: 1045: "Access denied for user 'admin'@'localhost' (using password: YES)" when trying to connect
All privileges are valid according to the article .
This is a bug in Plesk Migrator with ID #PMT-3778 which was fixed in Plesk Migrator 2.9 .
Plesk Migrator is updated automatically, no special actions are required.