Content Component 26.1
Content Component Help

# Create a New Database

You can create a new database in the Content component by using one of the following methods:

- Send a DRECREATEDBASE index action to Content.

- Add a database to the Content component configuration file.

- Create a new database in Knowledge Discovery Admin.

NOTE: The database name must not contain the following characters, which are syntax characters in other parameters that use database names:

- ampersand (&)
- plus sign (+)
- percent (%)
- comma (,)

In addition, OpenText strongly recommends that you do not use white space characters (including \t, \r, \n, and so on) in your database names.

## Send a DRECREATEDBASE Index Action

To create a new database by this method, send a DRECREATEDBASE action (case sensitive) from your Web browser:

    http://ContentHost:indexPort/DRECREATEDBASE?DREDbName=databaseName

where:

`ContentHost` | is the IP address or host name of the machine on which the Content component is installed.
`indexPort` | is the Content component index port (specified as IndexPort in the `[Server]` section of the Content component configuration file).
`databaseName` | is the name of the database that you want to create.

For example:

    http://12.3.4.56:20001/DRECREATEDBASE?DREDbName=Archive

This action uses port `20001` to create a new database named `Archive` on the Content component on the machine with the IP address `12.3.4.56`.

NOTE: This action does not complete if the configuration file is read-only.

For information about other available parameters,see DRECREATEDBASE.

## Add a Database to the Content component Configuration File

Use the following procedure to add a database to the Content component configuration file.

To add a new database to the Content component configuration file

1. Open the Content component configuration file in a text editor.

2. Find the `[Databases]` section. This section contains the NumDBs setting, which indicates how many databases Content currently contains. It also contains a section for each of these databases, with settings that apply to them. The names of the individual database sections use the format `DatabaseN`, where `N` numbers the databases in consecutive order, starting from 0 (zero).

   For example:

       [Databases]
       NumDBs=2

       [Database0]
       Name=News

       [Database1]
       Name=Archive

3. Increase the NumDBs setting by one.

   For example:

       [Databases]
       NumDBs=3

4. Create a section for the new database. The name of the section must use the format `DatabaseN`, where `N` numbers the databases in consecutive order, starting from 0 (zero).

   Use the Name parameter to specify a name for your new database.

   For example:

       [Databases]
       NumDBs=3

       [Database0]
       Name=News

       [Database1]
       Name=Archive

       [Database2]
       Name=myNewDatabase

5. Add any other optional parameters for the database. For more information, see Databases Configuration Parameters.

6. Save and close the configuration file.

7. Restart the Content component for your changes to take effect.

## Create a New Database in Knowledge Discovery Admin

You can add a new database for the Content or Agentstore components, or Proxy, from the Databases page in the Control section of the Knowledge Discovery Admin interface.

To add a new database to Content by using Knowledge Discovery Admin

1. Click + Add New Database.The Add New Database dialog box opens.
2. In the Database Name box, type a name for the database.
3. Select the Internal check box if you want the database to be internal, and therefore hidden.
4. Select the Read Only check box if you want to prevent documents being added to the database.
5. Select a priority for the index action. This determines how the Content component queues the action.

6. Click Create.

Related Topics

- Display Online Help

Copyright 2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Content Component 26.1

Topic Title: Create a New Database