• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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