• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

How do I move mySQL-database from one domain to other domain ...

M

manjunja

Guest
Hi folks,

I've got a mySQL database in my plesk 7.5.3 "under" domain i.e. "adomain.de" and want to move this database to domain i.e. "bdomain.de"

Reason: If I do a backup from domain "bdomain.de", the database which ist sortet under domain "adomain.de" isn't part of the backup, but should belong to it.

How can I change this?
Any ideas?

thx in @vance
manjunja
 
What you could do is the following:

1) make a dump with mysqldump from the database and adjust the DB name in the dump.
2) Create database and user on the new domain
3) inject the dump with the new username like mysql < dump
 
Any other way of doing this?

Is there any other way of doing this?
(ex. Editing psa tables?)

I have searched the forum with no luck.
Any help would be appreciated.
 
I found another post in these forums that led me to the answer. http://forum.parallels.com/showthread.php?t=53671

Basically you open up WebAdmin and select the "spa" database, go into the file "data_bases" and change the dom_id of the database to a different one. MySQL doesn't know or care anything about this and everything works fine.
 
Back
Top