Drone : Configuration Database
This page last changed on Jan 07, 2005 by gbevin.
Drone only needs a database if you use modules that need to store information. This setup is thus only needed when you use the faq, log or seen module.The database is configured as a RIFE datasource and it is setup in the datasources.xml file. Below is a sample datasource configuration file:<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE datasources SYSTEM "/dtd/datasources.dtd"> <datasources> <datasource name="postgresql"> <driver>org.postgresql.Driver</driver> <url>jdbc:postgresql://localhost:5432/drone</url> <user>drone</user> <password>password</password> <poolsize>10</poolsize> </datasource> </datasources> It should be pretty trivial to configure this. Drone has currently been tested with PostgreSQL and MySQL, but other databases will be supported later on. To activate the datasource you have to configure the global settings. |
![]() |
Document generated by Confluence on Jan 07, 2005 13:31 |