[opencms-dev] two different databases for online and offline project

Kai Schliemann k.schliemann at comundus.com
Wed Oct 1 12:04:00 CEST 2003


Hi list,

is it possible to use two different databases(on two different machines),
one for the offline and the other for the online project?
I know that I can define that in the opencms.properties file as follows, but
never tested it:

# Configuration of the resource-broker
############################################################################
#####

...

# Parameters for the mySQL connection-pool
pool.mysql.driver=org.gjt.mm.mysql.Driver
pool.mysql.url=jdbc:mysql://server1:3306/opencms
...

# Parameters for the mySQL online connection-pool
pool.mysqlonline.driver=org.gjt.mm.mysql.Driver
pool.mysqlonline.url=jdbc:mysql://server2:3306/opencms
...

Can anybody confirm if this works?

TIA

Kai




More information about the opencms-dev mailing list