• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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