Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > Change the name of the database for an existing site View modes: 
User avatar
Member
Member
nnarayanan - 4/27/2010 10:38:32 AM
   
Change the name of the database for an existing site
Hi there,

Actual question:
We need to change the name of the database for an existing site without disturbing any of its activities, which includes content staging. Can you please tell me as what are the corresponding changes we need to make if we change the name of the database, as we tried changing the name of the database in configuration file too but it isn't doing the magic.

Detailed Explanation:
To explain the problem in detail, we have three servers (development, QA and Production). We make changes to the site in development server and synchronize all the changes to QA and from QA after testing to the actual live site. Everything is setup and works fine but now for some reason we would like to change the name of the database that QA is pointing to. So we renamed the actual database and then changed the name in configuration file. The problem we now face is that, the setup made between QA and Production for synchronization is completely lost. Please let us know if we are missing any piece.

Thank you.

Regards,
Nitya Narayanan

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 5/3/2010 5:53:21 AM
   
RE:Change the name of the database for an existing site
Hi Nitya,


It should be enough to rename the database and re-write the connection string in web.config.

I would recommend you checking Content staging settings like: Content staging configuration (esp. Server URL and authentication).


Best regards,
Helena Grulichova