• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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