Applicable to:
- Plesk for Linux
- Plesk for Windows
Symptoms
Migration of a database fails with the following error message:
PLESK_INFO: Unable to create database 'wordpress_1' in subscription 'example.com': Command LANG=en_US.UTF-8 ALLOW_WEAK_PASSWORDS=1 PLESK_RESTORE_MODE=1 database --create wordpress_1 -domain example.com -skip-webspace-checking -type mysql -server 203.0.113.2:3306 -ignore-nonexistent-options failed with exit code 2:
stdout:
stderr: Database with requested name already exists.
Cause
There are two MySQL databases with the same name on the source and the destination servers.
Resolution
Rename the database either on the source or the destination server using the steps from this KB article.
If MySQL user names of these databases are identical too, rename one of these MySQL users in Plesk at Domains > example.com > Databases > User Management > username.
Comments
0 comments
Please sign in to leave a comment.