I’m migrating RT 4.4.4 from a Ubuntu server to Red Hat. I installed a new instance of RT on the RHEL server then copied over the files from the old server and loaded a dump from the MySQL database.
The first thing that’s odd is that when I go to the web page, it wants to send me through the installation process. To me, it doesn’t seem like that should happen. Is there a way to tell RT that this isn’t really a new installation?
Nevertheless, I walked through the installation screens and when it gets to Initialize Database, it throws this error:
 [Wed Jun 19 21:42:10 2019] [error]: Access denied for user ‘apache’@‘localhost’ (using password: NO) at /var/www/requesttracker/share/html/Install/Initialize.html line 87.
First off I don’t know why it’s trying to use ‘apache’. RT_SiteConfig.pm has the right database user. And it also isn’t using the password which is definitely there. Here’s the configure I’m using:
./configure --prefix=/var/www/requesttracker --with-db-type=mysql --with-d
b-database=requesttracker --with-db-rt-user= --with-db-rt-pass=
–with-web-user=apache --with-web-group=apache --with-rt-group=apache --with-web
-handler=modperl2 --with-bin-owner=apache --with-libs-group=apache --with-libs-o
Everywhere it said www-data in my old configure file (which worked just fine on Ubuntu), I changed it to apache. Looking at the help file, I don’t see anything wrong with that config.
Any idea what I’m doing wrong?