[rt-users] supplying database credentials to rt-fulltext-indexer

Alex Vandiver alex at chmrr.net
Sat Dec 10 03:47:58 EST 2016


On Fri, 9 Dec 2016 17:30:31 -0500
Alex Hall <ahall at autodist.com> wrote:
> What this file never says is how to tell the indexer tool how to connect to
> the database. It clearly isn't pulling from the RT configuration, nor from
> /home/www-data/rtrc.

The indexer reads and uses the database configuration from
your /opt/rt4/etc/RT_Config.pm and /opt/rt4/tec/RT_SiteConfig.pm
files.  rtrc files are _only_ used by the "bin/rt" tool, which is meant
to be run from other machines than your RT host.

The rt-setup-fulltext-indexer wants to know your DBA username and
password because it needs to create new tables and indexes, which the
standard RT database user does not have permissions to do.  Once the
index is set up, updates to the index are done as RT's standard
database user.

 - Alex



More information about the rt-users mailing list