Product:
Search Type:

Databases are not migrated during the migration or they are not restored from the Plesk backup.

Article ID: 1681 
Last Review: Nov,09 2007
APPLIES TO:
  • Plesk 8.x for Linux/Unix

SYMPTOMS

You are trying to migrate data using PMM but all databases failed to restore on the destination server with the error like:

Failed deployment of database NAME (domain DOMAIN)
Execution of /usr/local/psa/admin/sbin/cid_unpacker /usr/local/psa/PMM/var/2007-01-11-16.39.23.122319 failed with return code 1.


Or you restored data from the dump that was made from Plesk CP or using 'pleskbackup' utilirty, but no databases' content restored.

CAUSE

Such problem may occur if there is the /root/.my.cnf file exists on the server and it contains the password that differs from the Plesk administrator password. In this case Plesk cannot connect to Mysql to dump/restore the databases' content because it passes the password to Mysql via environment variable, but the file has greater priority and Mysql uses invalid password from .my.cnf for the connection.

RESOLUTION

Remove /root/.my.cnf file or use Plesk admin password in it. 


Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields