An LXR database is defined either as a real independent database, or as an alternate table set in an existing database.
The new database is described by configuration parameters 'dbname',
'dbuser' and 'dbpass'.
'dbprefix' can keep its default value.
To describe a new tree with its own database,
launch script configure-lxr.pl
with option --add
and answer questions:
Configuration consists essentially in giving a new database name.
The table names in the new set start with the prefix defined
by configuration parameter 'dbprefix'.
The 'dbname', 'dbuser' and 'dbpass'
parameters keep the same values for all trees.
To describe a new tree with different tables,
launch script configure-lxr.pl
with option --add
and answer questions:
Configuration consists essentially in giving an existing database name and a new table prefix.
Copy the augmented lxr.conf configuration file and physically create the database:
Run the genxref script for each tree
(see the
this page).