Documentation Center

Deleting the database

If SDL provided the Web application server, delete the database after you have backed it up by removing the data subdirectory of the SDL Knowledge Center home directory.

Before you begin

About this task

This procedure deletes the current database. Users must be logged out to complete this procedure.

Procedure

  1. Shut down the database so you can safely copy and remove the files.
  2. Except for the export directory, save all the files and directories within the ContentDelivery_home/data directory to a different location.
  3. Delete everything except the export directory from your original ContentDelivery_home/data directory.
  4. Start the application or server.
    1. If you are using a third-party web application server, start the application server's service. For example, if you are using Apache Tomcat, start the Apache Tomcat service.
    2. If you are using the bundled web application server, start the Content Delivery database by doing one of the following:
    • On Windows, start the ContentDelivery XML Database service.
    • On Linux, log in as the root user, and type the following at a command prompt:

      /etc/init.d/SDL_LiveContent start