• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

move database

A

AbsolutelyFreeW

Guest
I tried with:

database.exe -u database_name -domain new_domain.com

but that didnt work.

Is there any way?
 
it is possible to do it through psa database. You should modificate data_bases table. This table has column named dom_id. This column links to id column in domains database. That is why the only thing that you should do is to update db_id field like in this query:
update data_bases set dom_id=(select id from domains where name='domain.com') where name='databasename';
 
thx gris, as said before, I've made the change through the psa already ;)
 
Back
Top