• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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