• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.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