Database Server Configuration

The database server configuration defines driver, IPNr, port and name of database. The configuration are defined in an xml file. The default file used, if no other file is specified, is C3FireDBConfig.xml located in the www directory <C3FIRE-WWW-ROOT>.


Configuration file example

C3FireDBConfig.xml
==================================================

<?xml version="1.0" encoding="ISO-8859-1"?>

<DBConfig
  Driver = "com.mysql.jdbc.Driver"
  IPNr = "192.168.253.19"
  Port = "8090"
  DataBaseName = "G1T1" />

==================================================

XML Definition

The xml file should have the elements, Driver, IPNr, Port and DataBaseName.


DBConfiguration

The Driver defines how C3Fire communicates with the database server. IPNr and Port is information needed for the driver to connect to the database server.


Property

Value

Driver

Control the connection between C3Fire and the database server.

Value example = "com.mysql.jdbc.Driver"

IPNr

The database server's IP number.

Value example = "192.168.253.19"

Port

The database server's port number.

Value example = "8090"

DataBaseName

name of the database.

Value = "G1T1"