Administration and Maintenance > Administer IDOL Server > Create and Delete Databases > Create a New Database

Create a New Database
You can create a new database in IDOL server using one of the following methods:
*
Send a DRECREATEDBASE action to IDOL server.
*
 
Related Topics 
*
Send a DRECREATEDBASE command
To create a new database by this method, send a DRECREATEDBASE action (case sensitive) from your Web browser:
http://IDOLhost:indexPort/DRECREATEDBASE?DREdbname=databaseName
where,
 
is the IDOL server index port (specified as IndexPort in the IDOL server configuration file [Server] section).
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 IDOL server machine with the IP address 12.3.4.56.
Edit the IDOL server Configuration File
Use this procedure to edit the IDOL server configuration file.
To create a new database by this method
1.
Open the IDOL server configuration file in a text editor and find the [Databases] section. This section contains the NumDBs setting, which indicates how many databases IDOL server 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 Database<N>, where <N> numbers the databases in consecutive order, starting from zero.
For example:
[Databases]
NumDBs=2
[Database0]
Name=News
[Database1]
Name=Archive
2.
Increase the NumDBs setting by one.
For example:
[Databases]
NumDBs=3
3.
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 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
4.
5.
Related Topics 
*